Explorar el Código

Updated CentOS and Fedora install steps

The CentOS steps were tested with:

  * A @core install (super minimal package set) on CentOS 7 x86_64, to
    ensure we catch all of the required dependencies.
  * A fairly minimal aarch64 (ARMv8) server (ARM64-2GB instance on
    Scaleway).  Compiling works fine there too, so this isn't x86_64
    specific any more. :)

The Fedora steps were tested with a @minimal Fedora 28 X86_64 install.

In theory, the Fedora steps should work fine on other architectures
as well, but that wasn't tested.
Justin Clift hace 7 años
padre
commit
c8839416a8
Se han modificado 1 ficheros con 19 adiciones y 8 borrados
  1. 19 8
      README.md

+ 19 - 8
README.md

@@ -27,6 +27,7 @@
   On Unix-based systems the engine depends on some C libraries that can be installed using the appropriate distribution package manager.
 
   * For Ubuntu/Debian-like Linux distributions, install the following packages:
+
     * `xorg-dev`
     * `libgl1-mesa-dev`
     * `libopenal1`
@@ -34,19 +35,29 @@
     * `libvorbis0a`
     * `libvorbis-dev`
     * `libvorbisfile3`
-  * For CentOS/Fedora-like Linux distributions, install the following packages:
-    * `xorg-x11-devel.x86_64`
-    * `mesa-libGL.x86_64`
-    * `mesa-libGL-devel.x86_64`
-    * `openal-soft.x86_64`
-    * `openal-soft-devel.x86_64`
-    * `libvorbis.x86_64`
-    * `libvorbis-devel.x86_64`
+
+  * For Fedora, install the required packages:
+
+    ```
+    $ sudo dnf -y install xorg-x11-proto-devel mesa-libGL mesa-libGL-devel openal-soft \
+      openal-soft-devel libvorbis libvorbis-devel glfw-devel libXi-devel
+    ```
+
+  * For CentOS 7, enable the EPEL repo then install the same packages as for Fedora above:
+
+    ```
+    $ sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
+    ```
+
+    Remember to use `yum` instead of `dnf` for the package installation command.
+
   * For Windows, the necessary audio libraries sources and DLLs are supplied but they need to be installed
     manually. Please see [Audio libraries for Windows](audio/windows) for details.
     We tested the Windows build using the [mingw-w64](https://mingw-w64.org) toolchain.
+
   * For macOS, you should install the development files of OpenAL and Vorbis. If
     you are using [Homebrew](https://brew.sh/) as your package manager, run:
+
     `brew install libvorbis openal-soft`
 
   ## Installation