include the yum install command for fedora

took me a while to find out that `libjpeg-dev` on debian was `libjpeg-turbo-devel` on fedora >.>
This commit is contained in:
asl97 2014-03-23 06:45:55 +08:00
parent 651e76dadb
commit ab07ce1f0e

View File

@ -28,10 +28,19 @@ It aims to make the game fun while trading off some bits of perfectionism.
- `Tab`: player list
## Compiling
Install dependencies. Here's an example for Debian/Ubuntu:
Install dependencies. Here's an example for
Debian/Ubuntu:
```
sudo apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libfreetype6-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libvorbis-dev libopenal-dev libcurl4-openssl-dev libluajit-5.1-dev libleveldb-dev libsnappy-dev libgettextpo0
```
Fedora:
```
# the first five is the closest to Debian/Ubuntu build-essential
sudo yum install make automake gcc gcc-c++ kernel-devel irrlicht-devel bzip2-devel libpng-devel libjpeg-turbo-devel freetype-devel libXxf86vm-devel mesa-libGL-devel sqlite-devel libvorbis-devel openal-soft-devel libcurl-devel luajit-devel leveldb-devel snappy-devel gettext-devel
```
Download source code:
```
git clone --recursive https://github.com/freeminer/freeminer.git