mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Drop Fedora 36, RHEL 8.4, Ubuntu 18.04 + extras (#6189)
This commit is contained in:
parent
10e09d6abc
commit
dc94c96c9e
@ -6,9 +6,11 @@
|
|||||||
Installing the pre-requirements
|
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:
|
Install them with dnf:
|
||||||
|
|
||||||
|
.. TODO: Use Python 3.11 once RHEL 8.6 goes EOL in 2024.
|
||||||
|
|
||||||
.. prompt:: bash
|
.. prompt:: bash
|
||||||
|
|
||||||
sudo dnf -y update
|
sudo dnf -y update
|
||||||
|
|||||||
@ -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.
|
Red Hat Enterprise Linux (RHEL) 9 and its derivatives have all required packages available in official repositories.
|
||||||
Install them with dnf:
|
Install them with dnf:
|
||||||
|
|
||||||
|
.. TODO: Use Python 3.11 once RHEL 9.0 goes EOL in 2024.
|
||||||
|
|
||||||
.. prompt:: bash
|
.. prompt:: bash
|
||||||
|
|
||||||
sudo dnf -y install python39 python3-devel git java-11-openjdk-headless @development nano
|
sudo dnf -y install python39 python3-devel git java-11-openjdk-headless @development nano
|
||||||
|
|||||||
@ -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.
|
|
||||||
@ -10,7 +10,7 @@ virtual environment.
|
|||||||
|
|
||||||
.. prompt:: bash
|
.. 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
|
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
|
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
|
.. 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.
|
Pyenv is now installed and your system should be configured to run Python 3.10.
|
||||||
|
|||||||
@ -10,7 +10,7 @@ virtual environment.
|
|||||||
|
|
||||||
.. prompt:: bash
|
.. 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
|
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
|
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
|
.. 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.
|
Pyenv is now installed and your system should be configured to run Python 3.9.
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
.. _install-alma-linux-8:
|
.. _install-alma-linux-8:
|
||||||
|
|
||||||
====================================
|
====================================
|
||||||
Installing Red on Alma Linux 8.4-8.x
|
Installing Red on Alma Linux 8.6-8.x
|
||||||
====================================
|
====================================
|
||||||
|
|
||||||
.. include:: _includes/install-guide-rhel8-derivatives.rst
|
.. include:: _includes/install-guide-rhel8-derivatives.rst
|
||||||
|
|||||||
@ -12,7 +12,7 @@ Installing Red on Fedora Linux
|
|||||||
Installing the pre-requirements
|
Installing the pre-requirements
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
Fedora Linux 36 and above has all required packages available in official repositories. Install
|
Fedora Linux 37 and above has all required packages available in official repositories. Install
|
||||||
them with dnf:
|
them with dnf:
|
||||||
|
|
||||||
.. prompt:: bash
|
.. prompt:: bash
|
||||||
|
|||||||
@ -31,7 +31,6 @@ we recommend **Ubuntu 22.04 LTS**.
|
|||||||
rhel-9
|
rhel-9
|
||||||
rocky-linux-8
|
rocky-linux-8
|
||||||
rocky-linux-9
|
rocky-linux-9
|
||||||
ubuntu-1804
|
|
||||||
ubuntu-2004
|
ubuntu-2004
|
||||||
ubuntu-2204
|
ubuntu-2204
|
||||||
ubuntu-non-lts
|
ubuntu-non-lts
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
.. _install-oracle-linux-8:
|
.. _install-oracle-linux-8:
|
||||||
|
|
||||||
======================================
|
======================================
|
||||||
Installing Red on Oracle Linux 8.4-8.x
|
Installing Red on Oracle Linux 8.6-8.x
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
.. include:: _includes/install-guide-rhel8-derivatives.rst
|
.. include:: _includes/install-guide-rhel8-derivatives.rst
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
.. _install-rhel-8:
|
.. _install-rhel-8:
|
||||||
|
|
||||||
=========================================================
|
=========================================================
|
||||||
Installing Red on Red Hat Enterprise Linux (RHEL) 8.4-8.x
|
Installing Red on Red Hat Enterprise Linux (RHEL) 8.6-8.x
|
||||||
=========================================================
|
=========================================================
|
||||||
|
|
||||||
.. include:: _includes/install-guide-rhel8-derivatives.rst
|
.. include:: _includes/install-guide-rhel8-derivatives.rst
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
.. _install-rocky-linux-8:
|
.. _install-rocky-linux-8:
|
||||||
|
|
||||||
===============================
|
=====================================
|
||||||
Installing Red on Rocky Linux 8
|
Installing Red on Rocky Linux 8.6-8.x
|
||||||
===============================
|
=====================================
|
||||||
|
|
||||||
.. include:: _includes/install-guide-rhel8-derivatives.rst
|
.. include:: _includes/install-guide-rhel8-derivatives.rst
|
||||||
|
|||||||
@ -1,43 +0,0 @@
|
|||||||
.. _install-ubuntu-1804:
|
|
||||||
|
|
||||||
==================================
|
|
||||||
Installing Red on Ubuntu 18.04 LTS
|
|
||||||
==================================
|
|
||||||
|
|
||||||
.. include:: _includes/supported-arch-x64+aarch64.rst
|
|
||||||
|
|
||||||
.. include:: _includes/linux-preamble.rst
|
|
||||||
|
|
||||||
-------------------------------
|
|
||||||
Installing the pre-requirements
|
|
||||||
-------------------------------
|
|
||||||
|
|
||||||
.. Git 2.17.0-2.22.0 have an issue with partial clone which is used in pip for git installs.
|
|
||||||
.. Not incredibly important perhaps but this ppa is recommended by git-scm.com/download/linux
|
|
||||||
.. so it should be fine.
|
|
||||||
|
|
||||||
We recommend adding the ``git-core`` ppa to install Git 2.11 or greater:
|
|
||||||
|
|
||||||
.. prompt:: bash
|
|
||||||
|
|
||||||
sudo apt update
|
|
||||||
sudo apt -y install software-properties-common
|
|
||||||
sudo add-apt-repository -y ppa:git-core/ppa
|
|
||||||
|
|
||||||
We recommend adding the ``deadsnakes`` ppa to install Python 3.11:
|
|
||||||
|
|
||||||
.. prompt:: bash
|
|
||||||
|
|
||||||
sudo add-apt-repository -y ppa:deadsnakes/ppa
|
|
||||||
|
|
||||||
Now install the pre-requirements with apt:
|
|
||||||
|
|
||||||
.. prompt:: bash
|
|
||||||
|
|
||||||
sudo apt -y install python3.11 python3.11-dev python3.11-venv git openjdk-11-jre-headless build-essential nano
|
|
||||||
|
|
||||||
.. Include common instructions:
|
|
||||||
|
|
||||||
.. include:: _includes/create-env-with-venv3.11.rst
|
|
||||||
|
|
||||||
.. include:: _includes/install-and-setup-red-unix.rst
|
|
||||||
@ -55,30 +55,30 @@ Windows 11 x86-64 `Retirement Date <h
|
|||||||
macOS 11 (Big Sur) x86-64, aarch64 ~2023-10
|
macOS 11 (Big Sur) x86-64, aarch64 ~2023-10
|
||||||
macOS 12 (Monterey) x86-64, aarch64 ~2024-10
|
macOS 12 (Monterey) x86-64, aarch64 ~2024-10
|
||||||
macOS 13 (Ventura) x86-64, aarch64 ~2025-10
|
macOS 13 (Ventura) x86-64, aarch64 ~2025-10
|
||||||
Alma Linux 8 x86-64, aarch64 2029-05-31 (`How long will CloudLinux support AlmaLinux? <https://wiki.almalinux.org/FAQ.html#how-long-will-cloudlinux-support-almalinux>`__)
|
Alma Linux 8 x86-64, aarch64 2029-05-31 (`How long will CloudLinux support AlmaLinux? <https://wiki.almalinux.org/FAQ.html#how-long-will-almalinux-be-supported>`__)
|
||||||
Alma Linux 9 x86-64, aarch64 2032-05-31
|
Alma Linux 9 x86-64, aarch64 2032-05-31
|
||||||
Arch Linux x86-64 forever (support is only provided for an up-to-date system)
|
Arch Linux x86-64 forever (support is only provided for an up-to-date system)
|
||||||
CentOS 7 x86-64, aarch64 2024-06-30 (`end of Maintenance Updates <https://wiki.centos.org/About/Product>`__)
|
CentOS 7 x86-64, aarch64 2024-06-30 (`end of Maintenance Updates <https://wiki.centos.org/About/Product>`__)
|
||||||
CentOS Stream 8 x86-64, aarch64 2024-05-31 (`end of Maintenance Updates <https://wiki.centos.org/About/Product>`__)
|
CentOS Stream 8 x86-64, aarch64 2024-05-31 (`end of Maintenance Updates <https://wiki.centos.org/About/Product>`__)
|
||||||
CentOS Stream 9 x86-64, aarch64 2027-05-31 (`expected EOL <https://centos.org/stream9/#timeline>`__)
|
CentOS Stream 9 x86-64, aarch64 2027-05-31 (`expected EOL <https://centos.org/stream9/#timeline>`__)
|
||||||
Debian 11 Bullseye x86-64, aarch64, armv7l ~2024-09 (`End of life <https://wiki.debian.org/DebianReleases#Production_Releases>`__)
|
Debian 11 Bullseye x86-64, aarch64, armv7l ~2024-07 (`End of life <https://wiki.debian.org/DebianReleases#Production_Releases>`__)
|
||||||
Fedora Linux 36 x86-64, aarch64 2023-05-16 (`End of Life <https://docs.fedoraproject.org/en-US/releases/lifecycle/#_maintenance_schedule>`__)
|
|
||||||
Fedora Linux 37 x86-64, aarch64 2023-11-14 (`End of Life <https://docs.fedoraproject.org/en-US/releases/lifecycle/#_maintenance_schedule>`__)
|
Fedora Linux 37 x86-64, aarch64 2023-11-14 (`End of Life <https://docs.fedoraproject.org/en-US/releases/lifecycle/#_maintenance_schedule>`__)
|
||||||
Fedora Linux 38 x86-64, aarch64 2024-05-14 (`End of Life <https://docs.fedoraproject.org/en-US/releases/lifecycle/#_maintenance_schedule>`__)
|
Fedora Linux 38 x86-64, aarch64 2024-05-14 (`End of Life <https://docs.fedoraproject.org/en-US/releases/lifecycle/#_maintenance_schedule>`__)
|
||||||
openSUSE Leap 15.4 x86-64, aarch64 2023-11-30 (`end of maintenance life cycle <https://en.opensuse.org/Lifetime#openSUSE_Leap>`__)
|
openSUSE Leap 15.4 x86-64, aarch64 2023-11-30 (`end of maintenance life cycle <https://en.opensuse.org/Lifetime#openSUSE_Leap>`__)
|
||||||
|
openSUSE Leap 15.5 x86-64, aarch64 2024-12-31 (`end of maintenance life cycle <https://en.opensuse.org/Lifetime#openSUSE_Leap>`__)
|
||||||
openSUSE Tumbleweed x86-64, aarch64 forever (support is only provided for an up-to-date system)
|
openSUSE Tumbleweed x86-64, aarch64 forever (support is only provided for an up-to-date system)
|
||||||
Oracle Linux 8 x86-64, aarch64 2029-07-31 (`End of Premier Support <https://www.oracle.com/us/support/library/elsp-lifetime-069338.pdf>`__)
|
Oracle Linux 8 x86-64, aarch64 2029-07-31 (`End of Premier Support <https://www.oracle.com/us/support/library/elsp-lifetime-069338.pdf>`__)
|
||||||
Oracle Linux 9 x86-64, aarch64 2032-06-31 (`End of Premier Support <https://www.oracle.com/us/support/library/elsp-lifetime-069338.pdf>`__)
|
Oracle Linux 9 x86-64, aarch64 2032-06-31 (`End of Premier Support <https://www.oracle.com/us/support/library/elsp-lifetime-069338.pdf>`__)
|
||||||
Raspberry Pi OS (Legacy) 10 armv7l ~2023-12 (approximate date of release of Raspberry Pi OS 12)
|
Raspberry Pi OS (Legacy) 10 armv7l ~2023-12 (approximate date of release of Raspberry Pi OS 12)
|
||||||
Raspberry Pi OS 11 aarch64, armv7l ~2023-12 (approximate date of release of Raspberry Pi OS 12)
|
Raspberry Pi OS 11 aarch64, armv7l ~2023-12 (approximate date of release of Raspberry Pi OS 12)
|
||||||
RHEL 8 (latest) x86-64, aarch64 2029-05-31 (`End of Maintenance Support <https://access.redhat.com/support/policy/updates/errata#Life_Cycle_Dates>`__)
|
RHEL 8 (latest) x86-64, aarch64 2029-05-31 (`End of Maintenance Support <https://access.redhat.com/support/policy/updates/errata#Life_Cycle_Dates>`__)
|
||||||
RHEL 8.4 x86-64, aarch64 2023-05-31 (`End of Extended Update Support <https://access.redhat.com/support/policy/updates/errata#Extended_Update_Support>`__)
|
|
||||||
RHEL 8.6 x86-64, aarch64 2024-05-31 (`End of Extended Update Support <https://access.redhat.com/support/policy/updates/errata#Extended_Update_Support>`__)
|
RHEL 8.6 x86-64, aarch64 2024-05-31 (`End of Extended Update Support <https://access.redhat.com/support/policy/updates/errata#Extended_Update_Support>`__)
|
||||||
|
RHEL 8.8 x86-64, aarch64 2025-05-31 (`End of Extended Update Support <https://access.redhat.com/support/policy/updates/errata#Extended_Update_Support>`__)
|
||||||
RHEL 9 (latest) x86-64, aarch64 2032-05-31 (`End of Maintenance Support <https://access.redhat.com/support/policy/updates/errata#Life_Cycle_Dates>`__)
|
RHEL 9 (latest) x86-64, aarch64 2032-05-31 (`End of Maintenance Support <https://access.redhat.com/support/policy/updates/errata#Life_Cycle_Dates>`__)
|
||||||
RHEL 9.0 x86-64, aarch64 2024-05-31 (`End of Extended Update Support <https://access.redhat.com/support/policy/updates/errata#Extended_Update_Support>`__)
|
RHEL 9.0 x86-64, aarch64 2024-05-31 (`End of Extended Update Support <https://access.redhat.com/support/policy/updates/errata#Extended_Update_Support>`__)
|
||||||
|
RHEL 9.2 x86-64, aarch64 2025-05-31 (`End of Extended Update Support <https://access.redhat.com/support/policy/updates/errata#Extended_Update_Support>`__)
|
||||||
Rocky Linux 8 x86-64, aarch64 2029-05-31 (`end-of-life <https://rockylinux.org/download/>`__)
|
Rocky Linux 8 x86-64, aarch64 2029-05-31 (`end-of-life <https://rockylinux.org/download/>`__)
|
||||||
Rocky Linux 9 x86-64, aarch64 2032-05-31 (`end-of-life <https://rockylinux.org/download/>`__)
|
Rocky Linux 9 x86-64, aarch64 2032-05-31 (`end-of-life <https://rockylinux.org/download/>`__)
|
||||||
Ubuntu 18.04 LTS x86-64, aarch64 2023-04-30 (`End of Standard Support <https://wiki.ubuntu.com/Releases#Current>`__)
|
|
||||||
Ubuntu 20.04 LTS x86-64, aarch64 2025-04-30 (`End of Standard Support <https://wiki.ubuntu.com/Releases#Current>`__)
|
Ubuntu 20.04 LTS x86-64, aarch64 2025-04-30 (`End of Standard Support <https://wiki.ubuntu.com/Releases#Current>`__)
|
||||||
Ubuntu 22.04 LTS x86-64, aarch64 2027-04-30 (`End of Standard Support <https://wiki.ubuntu.com/Releases#Current>`__)
|
Ubuntu 22.04 LTS x86-64, aarch64 2027-04-30 (`End of Standard Support <https://wiki.ubuntu.com/Releases#Current>`__)
|
||||||
Ubuntu 22.10 x86-64, aarch64 2023-07-31 (`End of Standard Support <https://wiki.ubuntu.com/Releases#Current>`__)
|
Ubuntu 22.10 x86-64, aarch64 2023-07-31 (`End of Standard Support <https://wiki.ubuntu.com/Releases#Current>`__)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user