瀏覽代碼

Merge pull request #182 from Jklawreszuk/patch-1

Add library requirements tab for Fedora.

Thank you @Jklawreszuk
Vaclav Elias 2 年之前
父節點
當前提交
a09bbb2900
共有 1 個文件被更改,包括 35 次插入5 次删除
  1. 35 5
      en/manual/platforms/linux/setup-and-requirements.md

+ 35 - 5
en/manual/platforms/linux/setup-and-requirements.md

@@ -22,29 +22,59 @@ You need the following packages:
 
 
 To render fonts, we use the [FreeType](https://www.freetype.org/) library. The minimum required version is 2.6 and can be installed via:
 To render fonts, we use the [FreeType](https://www.freetype.org/) library. The minimum required version is 2.6 and can be installed via:
 
 
-```
+### [Ubuntu](#tab/freetype-ubuntu)
+
+```bash
 sudo apt-get install libfreetype6-dev
 sudo apt-get install libfreetype6-dev
 ```
 ```
 
 
+### [Fedora](#tab/freetype-fedora)
+
+```bash
+sudo dnf install freetype-devel
+```
+
+---
+
 ## OpenAL
 ## OpenAL
 
 
 To play sounds and music, we use the [OpenAL](https://www.openal.org/) library. It can be installed via:
 To play sounds and music, we use the [OpenAL](https://www.openal.org/) library. It can be installed via:
 
 
-```
+### [Ubuntu](#tab/openal-ubuntu)
+
+```bash
 sudo apt-get install libopenal-dev
 sudo apt-get install libopenal-dev
 ```
 ```
 
 
+### [Fedora](#tab/openal-fedora)
+
+```bash
+sudo dnf install openal-soft-devel
+```
+
+---
+
 ## SDL2
 ## SDL2
 
 
 To run games on Linux, we use the [SDL2](https://www.libsdl.org/) library which provides the ability to create windows, handle mouse, keyboard and joystick events. The minimum required version is 2.0.4 and can be installed via:
 To run games on Linux, we use the [SDL2](https://www.libsdl.org/) library which provides the ability to create windows, handle mouse, keyboard and joystick events. The minimum required version is 2.0.4 and can be installed via:
 
 
-```
+### [Ubuntu](#tab/sdl2-ubuntu)
+
+```bash
 sudo apt-get install libsdl2-dev
 sudo apt-get install libsdl2-dev
 ```
 ```
 
 
-### .NET Core
+### [Fedora](#tab/sdl2-fedora)
+
+```bash
+sudo dnf install SDL2-devel
+```
+
+---
+
+## .NET Core
 
 
-For information about how to install .NET Core, see the [.NET Core instructions for Debian/Ubuntu](https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x).
+For information about how to install .NET Core, see the [.NET Core instructions for Linux](https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites).
 
 
 Make sure version 2.1.300+ and runtime 2.1+ is installed. To check which version you have installed, type:
 Make sure version 2.1.300+ and runtime 2.1+ is installed. To check which version you have installed, type: