Skip to content

Commit 39eed41

Browse files
changed "yum" to "dnf", "python" to "python3", and added an additional note about rhel installation
1 parent 60b69ff commit 39eed41

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/mscs/installation.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,14 @@ sudo apt-get install default-jre perl libjson-perl libwww-perl liblwp-protocol-h
4848
If you are running Fedora, Redhat, or CentOS, you can make sure that the dependencies are installed by running the following command:
4949

5050
```bash
51-
sudo yum install java-1.8.0-openjdk perl perl-JSON perl-libwww-perl perl-LWP-Protocol-https util-linux python make wget git rdiff-backup rsync socat iptables sudo procps which
51+
sudo dnf install java-1.8.0-openjdk perl perl-JSON perl-libwww-perl perl-LWP-Protocol-https util-linux python3 make wget git rdiff-backup rsync socat iptables sudo procps which
5252
```
5353
**Note:** the `java-1.8.0-openjdk` package is the official Fedora / Redhat / Centos package that provides Java 8, which is only supported for Minecraft versions up to Minecraft 1.16. As of July 2021, there is no official Fedora / Redhat / CentOS Java 16 package. Thus, if you want to run Minecraft 1.17+, you will either have to download Java 16 manually or add it from an unofficial, third party package repository.
54+
**Additional Note:** if you are running Redhat Enterprise Linux, you must install and enable the EPEL repository in order to install some of the required packages. You can do so with the following commands (assuming you are running RHEL 8):
55+
```bash
56+
sudo subscription-manager repos --enable codeready-builder-for-rhel-8-$(arch)-rpms
57+
sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
58+
```
5459

5560
---
5661

0 commit comments

Comments
 (0)