diff --git a/Building-OpenRCT2-on-Linux.md b/Building-OpenRCT2-on-Linux.md index 7b72c5c..88b5b43 100644 --- a/Building-OpenRCT2-on-Linux.md +++ b/Building-OpenRCT2-on-Linux.md @@ -44,14 +44,14 @@ sudo dpkg -i libjansson-dev_2.7-1ubuntu1_i386.deb libpng First, install libpng-dev. Now, OpenRCT2 needs libpng16-dev as well, but these are conflicting packages. To solve this, you will have to download and build them yourself. I've tested this with https://sourceforge.net/projects/libpng/files/libpng16/1.6.21/ but you can use the newest version at https://sourceforge.net/projects/libpng/files/libpng16/ if you so wish. First, cd into /tmp (this will clear on reboot, so either compile it entirely without rebooting or put it somewhere else), and run: -''' +``` wget https://sourceforge.net/projects/libpng/files/libpng16/1.6.21/libpng-1.6.21.tar.xz/download tar -xvf libpng-1.6.21.tar.xz\?r\=https%3A%2%2Fsourceforge.net%2Fprojects%2Flibpng%2Ffiles%2Flibpng16%2F1.6.21%2F cd libpng-1.6.21 ./configure make check sudo make install -''' +``` Now you should have these libraries. [verifying...] ## pacman/yaourt (Arch)