1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 15:52:55 +01:00

Updated Building OpenRCT2 on Linux (markdown)

danidoedel
2017-01-04 19:02:06 +01:00
parent a55f76fcec
commit ad8ca7811d

@@ -4,16 +4,20 @@ This page tells you how to build the project. For instructions on how to get ass
## Required Packages (General) ## Required Packages (General)
To build natively on Linux, you will need a set of libraries set up. Since most distributions come with a package manager, we expect you to use that. Required libraries include: To build natively on Linux, you will need a set of libraries set up. Since most distributions come with a package manager, we expect you to use that. Required libraries include:
* `SDL2`
* `SDL2_ttf`
* `speexdsp`
* `fontconfig`
* `jansson`
* `libzip`
Optional are: * `sdl2`
* `curl` * `sdl2-ttf (can be disabled)`
* `openssl` * `fontconfig (can be disabled)`
* `libzip (>= 1.0)`
* `libpng (>= 1.2)`
* `speexdsp`
* `curl (only if building with http support)`
* `jansson (>= 2.3)`
* `openssl (>= 1.0; only if building with multiplayer support)`
* `iconv (part of glibc on Linux)`
* `zlib`
* `gl (commonly provided by Mesa or GPU vendors; can be disabled)`
* `cmake`
### APT (Debian, Ubuntu) ### APT (Debian, Ubuntu)
@@ -33,9 +37,9 @@ This solution is tested continuously with our own dockerfile and then travis.
Install dependencies: Install dependencies:
``` ```
sudo pacman -S sdl2 sdl2_ttf curl jansson speexdsp fontconfig libpng openssl libzip gcc gcc-libs sudo pacman -S sdl2 sdl2_ttf curl jansson speexdsp fontconfig libpng openssl libzip gcc gcc-libs
``` ```
### DNF (Fedora, Tested on 24 rawhide): ### DNF (Fedora, Tested on 24 rawhide):
This has not been verified, but should work. This has not been verified, but should work.