mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 09:22:31 -05:00
* rhel->rhel8 rename of the include file for install guides
* Add RHEL 9
* Add Alma, Oracle, and Rocky Linux 9 pre-emptively
* Add Alma Linux 9 EOL date.
(cherry picked from commit ee69f6e17f)
Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com>
27 lines
730 B
ReStructuredText
27 lines
730 B
ReStructuredText
.. include:: _includes/linux-preamble.rst
|
|
|
|
-------------------------------
|
|
Installing the pre-requirements
|
|
-------------------------------
|
|
|
|
Red Hat Enterprise Linux (RHEL) 8.4-8.x and its derivatives have all required packages available in official repositories.
|
|
Install them with dnf:
|
|
|
|
.. prompt:: bash
|
|
|
|
sudo dnf -y update
|
|
sudo dnf -y group install development
|
|
sudo dnf -y install python39 python39-pip python39-devel java-11-openjdk-headless nano git
|
|
|
|
Set ``java`` executable to point to Java 11:
|
|
|
|
.. prompt:: bash
|
|
|
|
sudo alternatives --set java "java-11-openjdk.$(uname -i)"
|
|
|
|
.. Include common instructions:
|
|
|
|
.. include:: _includes/create-env-with-venv.rst
|
|
|
|
.. include:: _includes/install-and-setup-red-unix.rst
|