Use one subsection by distribution in README
Now that instructions are given for both Debian/Ubuntu and Fedora, use subsections.
This commit is contained in:
parent
70599998eb
commit
ed65cd72fd
1 changed files with 9 additions and 2 deletions
11
README.md
11
README.md
|
@ -37,7 +37,9 @@ The client requires _FFmpeg_ and _LibSDL2_.
|
||||||
|
|
||||||
#### Linux
|
#### Linux
|
||||||
|
|
||||||
Install the required packages from your package manager (here, for Debian):
|
Install the required packages from your package manager.
|
||||||
|
|
||||||
|
##### Debian/Ubuntu
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# runtime dependencies
|
# runtime dependencies
|
||||||
|
@ -52,12 +54,17 @@ sudo apt install make gcc pkg-config meson \
|
||||||
sudo apt install openjdk-8-jdk
|
sudo apt install openjdk-8-jdk
|
||||||
```
|
```
|
||||||
|
|
||||||
For Fedora you need to install the following packages:
|
##### Fedora
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# enable RPM fusion free
|
# enable RPM fusion free
|
||||||
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
|
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
|
sudo dnf install SDL2-devel ffms2-devel meson gcc make
|
||||||
|
|
||||||
|
# server build dependencies
|
||||||
|
sudo dnf install java
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Windows
|
#### Windows
|
||||||
|
|
Loading…
Reference in a new issue