This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
guides:debian_bugbuntu [04/07/2015 20:00] ppk Merged non-database and database guides |
guides:debian_bugbuntu [29/12/2022 00:12] (current) ppk 0.5.3.0 |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Compile on Debian/ | + | ====== Compile on Debian/Mint/Ubuntu/ |
- | This guide was tested on clean installation of Debian | + | This guide was tested on clean installation of [[http:// |
Everything is done from command line, that means everything can be done over ssh on remote server.\\ | Everything is done from command line, that means everything can be done over ssh on remote server.\\ | ||
\\ | \\ | ||
Line 10: | Line 10: | ||
They can be installed using package manager **(Note: to install packages using package manager you need root permissions)**. | They can be installed using package manager **(Note: to install packages using package manager you need root permissions)**. | ||
* **a. Make, g++, zlib, tinyxml**\\ Install them with command: **apt-get install make g++ zlib1g-dev libtinyxml-dev** | * **a. Make, g++, zlib, tinyxml**\\ Install them with command: **apt-get install make g++ zlib1g-dev libtinyxml-dev** | ||
- | * **b. Lua**\\ When you want Lua 5.2 then install it with command: **apt-get install liblua5.2-dev**\\ When you want Lua 5.1 then install it with command: **apt-get install liblua5.1-dev** | + | * **b. Lua**\\ When you want Lua 5.4 then install it with command: **apt-get install liblua5.4-dev**\\ When you want Lua 5.3 then install it with command: **apt-get install liblua5.3-dev**\\ When you want Lua 5.2 then install it with command: **apt-get install liblua5.2-dev**\\ When you want Lua 5.1 then install it with command: **apt-get install liblua5.1-dev** |
* **c. Database support (optional)**\\ When you want **PostgreSQL** then install development files with command: **apt-get install libpq-dev**\\ When you want **MySQL** then install development files with command: **apt-get install libmysqlclient-dev**\\ When you want **MariaDB** then install development files with command: **apt-get install libmariadb-client-lgpl-dev-compat**\\ When you want **SQLite** then install development files with command: **apt-get install libsqlite3-dev**\\ **Important note: SQLite on Debian is compiled without [[http:// | * **c. Database support (optional)**\\ When you want **PostgreSQL** then install development files with command: **apt-get install libpq-dev**\\ When you want **MySQL** then install development files with command: **apt-get install libmysqlclient-dev**\\ When you want **MariaDB** then install development files with command: **apt-get install libmariadb-client-lgpl-dev-compat**\\ When you want **SQLite** then install development files with command: **apt-get install libsqlite3-dev**\\ **Important note: SQLite on Debian is compiled without [[http:// | ||
==== 2. Downloading source and compile. ==== | ==== 2. Downloading source and compile. ==== | ||
- | * **a. PtokaX source**\\ Download it with command: **wget** < | + | * **a. PtokaX source**\\ |
+ | * Download it with command: **wget** < | ||
+ | * Now we have in actual directory new directory PtokaX. Go to that directory with command: **cd PtokaX** | ||
* **b. PtokaX compile**\\ | * **b. PtokaX compile**\\ | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
==== 3. Setup and run. ==== | ==== 3. Setup and run. ==== | ||
* **a. **[[guides: | * **a. **[[guides: | ||
- | * **b. **[[guides: | + | * **b. **[[guides: |
+ | * **c. **[[guides: | ||