mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 15:52:55 +01:00
Updated Building OpenRCT2 on Linux (markdown)
@@ -4,16 +4,20 @@ This page tells you how to build the project. For instructions on how to get ass
|
||||
|
||||
## 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:
|
||||
* `SDL2`
|
||||
* `SDL2_ttf`
|
||||
* `speexdsp`
|
||||
* `fontconfig`
|
||||
* `jansson`
|
||||
* `libzip`
|
||||
|
||||
Optional are:
|
||||
* `curl`
|
||||
* `openssl`
|
||||
* `sdl2`
|
||||
* `sdl2-ttf (can be disabled)`
|
||||
* `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)
|
||||
|
||||
@@ -33,9 +37,9 @@ This solution is tested continuously with our own dockerfile and then travis.
|
||||
|
||||
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):
|
||||
This has not been verified, but should work.
|
||||
|
||||
Reference in New Issue
Block a user