From ed65cd72fd2c0f895022118007dd694217f8056a Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Sun, 11 Mar 2018 22:01:59 +0100 Subject: [PATCH] Use one subsection by distribution in README Now that instructions are given for both Debian/Ubuntu and Fedora, use subsections. --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fb7f0aec..6b6bf52f 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,9 @@ The client requires _FFmpeg_ and _LibSDL2_. #### Linux -Install the required packages from your package manager (here, for Debian): +Install the required packages from your package manager. + +##### Debian/Ubuntu ```bash # runtime dependencies @@ -52,12 +54,17 @@ sudo apt install make gcc pkg-config meson \ sudo apt install openjdk-8-jdk ``` -For Fedora you need to install the following packages: +##### Fedora ```bash # enable RPM fusion free sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm + +# client build dependencies sudo dnf install SDL2-devel ffms2-devel meson gcc make + +# server build dependencies +sudo dnf install java ``` #### Windows