Red-DiscordBot/docs/install_guides/_includes/install-guide-rhel8-derivatives.rst
2024-06-30 21:11:02 +02:00

29 lines
780 B
ReStructuredText

.. include:: _includes/supported-arch-x64+aarch64.rst
.. include:: _includes/linux-preamble.rst
-------------------------------
Installing the pre-requirements
-------------------------------
Red Hat Enterprise Linux (RHEL) 8.8-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 python3.11 python3.11-devel java-17-openjdk-headless nano git
Set ``java`` executable to point to Java 17:
.. prompt:: bash
sudo alternatives --set java "java-17-openjdk.$(uname -i)"
.. Include common instructions:
.. include:: _includes/create-env-with-venv3.11.rst
.. include:: _includes/install-and-setup-red-unix.rst