forked from mirrors/principia
Update linux compiling section in README
This commit is contained in:
parent
c26e63cfe9
commit
4168c5db08
1 changed files with 2 additions and 4 deletions
|
|
@ -80,14 +80,14 @@ pacman -S mingw-w64-ucrt-x86_64-nsis
|
|||
For making Windows release builds you would run the `packaging/windows_release.sh` script, which will bundle necessary DLLs and other files to make the game run, and builds the installer.
|
||||
|
||||
### Linux
|
||||
If you just want to play Principia on Linux, there are packages available for Arch-based and Debian-based distros as well as NixOS. See the [principia-web downloads page](https://principia-web.se/download) for more info.
|
||||
*If you just want to play Principia on Linux, there is an AppImage build available as well as packages for various Linux distributions. See the [principia-web downloads page](https://principia-web.se/download) for more info.*
|
||||
|
||||
Install dependencies.
|
||||
|
||||
**Debian-based distros:**
|
||||
|
||||
```bash
|
||||
sudo apt install --no-install-recommends cmake ninja-build libgtk-3-dev libgl-dev libglew-dev libasound2-dev libcurl4-openssl-dev libpng-dev libjpeg-dev libfreetype6-dev libsdl2-dev
|
||||
sudo apt install --no-install-recommends cmake ninja-build libgtk-3-dev libgl-dev libglew-dev libcurl4-openssl-dev libpng-dev libjpeg-dev libfreetype6-dev libsdl2-dev
|
||||
```
|
||||
|
||||
**For Arch-based distros:**
|
||||
|
|
@ -108,8 +108,6 @@ sudo dnf install @development-tools cmake ninja gcc-c++ freetype-devel libcurl-d
|
|||
doas apk add build-base cmake ninja mesa-dev glew-dev gtk+3.0-dev libpng-dev jpeg-dev curl-dev freetype-dev zlib-dev sdl2-dev
|
||||
```
|
||||
|
||||
**For NixOS**, Follow the instructions [here](./nix/README.md).
|
||||
|
||||
Generate the build files using CMake and start compilation:
|
||||
|
||||
```bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue