forked from QW-Group/ezquake-source
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCOMPILING_ON_LINUX.txt
32 lines (21 loc) · 1.07 KB
/
COMPILING_ON_LINUX.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
HOW TO BUILD ON LINUX:
------------------------------
1) Make sure you have the dependencies installed:
- For Ubuntu 15.10-16.04:
$ sudo apt-get install git build-essential libsdl2-2.0-0 libsdl2-dev libjansson-dev libexpat1-dev libcurl4-openssl-dev libpng12-dev libjpeg-dev libspeex-dev libspeexdsp-dev
- For Ubuntu 16.10+:
$ sudo apt install git build-essential libsdl2-2.0-0 libsdl2-dev libjansson-dev libexpat1-dev libcurl4-openssl-dev libpng-dev libjpeg-dev libspeex-dev libspeexdsp-dev
- For Fedora 25+:
$ sudo dnf install pcre-devel mesa-libGL-devel SDL2-devel make gcc jansson-devel expat-devel libcurl-devel libpng-devel libjpeg-turbo-devel speex-devel speexdsp-devel
2) Clone the git repository
$ git clone https://github.com/ezQuake/ezquake-source.git
3) Switch to ezquake-source path
cd ~/ezquake-source/
4) Run the following (replace 5 with the number of cpu cores you have + 1)
$ make -j5
5) Copy the built binary to your quake folder, on 64bit linux
the binary will be called:
ezquake-linux-x86_64
TODO:
-----
Write down dependencies for other distros