Drop Fedora 36, RHEL 8.4, Ubuntu 18.04 + extras (#6189)

This commit is contained in:
Jakub Kuczys
2023-06-18 02:06:47 +02:00
committed by GitHub
parent 10e09d6abc
commit dc94c96c9e
13 changed files with 21 additions and 88 deletions

View File

@@ -6,9 +6,11 @@
Installing the pre-requirements
-------------------------------
Red Hat Enterprise Linux (RHEL) 8.4-8.x and its derivatives have all required packages available in official repositories.
Red Hat Enterprise Linux (RHEL) 8.6-8.x and its derivatives have all required packages available in official repositories.
Install them with dnf:
.. TODO: Use Python 3.11 once RHEL 8.6 goes EOL in 2024.
.. prompt:: bash
sudo dnf -y update

View File

@@ -9,6 +9,8 @@ Installing the pre-requirements
Red Hat Enterprise Linux (RHEL) 9 and its derivatives have all required packages available in official repositories.
Install them with dnf:
.. TODO: Use Python 3.11 once RHEL 9.0 goes EOL in 2024.
.. prompt:: bash
sudo dnf -y install python39 python3-devel git java-11-openjdk-headless @development nano

View File

@@ -1,27 +0,0 @@
----------------------------
Installing Python with pyenv
----------------------------
On distributions where Python 3.11 needs to be compiled from source, we recommend the use of pyenv.
This simplifies the compilation process and has the added bonus of simplifying setting up Red in a
virtual environment.
.. include:: _includes/_install-pyenv-and-setup-path.rst
.. prompt:: bash
CONFIGURE_OPTS=--enable-optimizations pyenv install 3.11.1 -v
This may take a long time to complete, depending on your hardware. For some machines (such as
Raspberry Pis and micro-tier VPSes), it may take over an hour; in this case, you may wish to remove
the ``CONFIGURE_OPTS=--enable-optimizations`` part from the front of the command, which will
drastically reduce the install time. However, be aware that this will make Python run about 10%
slower.
After that is finished, run:
.. prompt:: bash
pyenv global 3.11.1
Pyenv is now installed and your system should be configured to run Python 3.11.

View File

@@ -10,7 +10,7 @@ virtual environment.
.. prompt:: bash
CONFIGURE_OPTS=--enable-optimizations pyenv install 3.10.9 -v
CONFIGURE_OPTS=--enable-optimizations pyenv install 3.10.12 -v
This may take a long time to complete, depending on your hardware. For some machines (such as
Raspberry Pis and micro-tier VPSes), it may take over an hour; in this case, you may wish to remove
@@ -22,6 +22,6 @@ After that is finished, run:
.. prompt:: bash
pyenv global 3.10.9
pyenv global 3.10.12
Pyenv is now installed and your system should be configured to run Python 3.10.

View File

@@ -10,7 +10,7 @@ virtual environment.
.. prompt:: bash
CONFIGURE_OPTS=--enable-optimizations pyenv install 3.9.16 -v
CONFIGURE_OPTS=--enable-optimizations pyenv install 3.9.17 -v
This may take a long time to complete, depending on your hardware. For some machines (such as
Raspberry Pis and micro-tier VPSes), it may take over an hour; in this case, you may wish to remove
@@ -22,6 +22,6 @@ After that is finished, run:
.. prompt:: bash
pyenv global 3.9.16
pyenv global 3.9.17
Pyenv is now installed and your system should be configured to run Python 3.9.