From a34bab9881d2d219158533a1e8111ac655d65255 Mon Sep 17 00:00:00 2001 From: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Sun, 5 Jun 2022 03:11:25 +0200 Subject: [PATCH] [3.4] Add Ubuntu 22.04 install guide (#5720) (#5753) * Add Ubuntu 22.04 install guide * Add Ubuntu 22.04 to End-user guarantees * Add missing information about supported arches in install guide. (cherry picked from commit e93057093e15160f1086d161c9c9f324c30d0a44) Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> --- docs/getting_started.rst | 2 +- docs/install_guides/index.rst | 3 ++- docs/install_guides/ubuntu-2204.rst | 31 +++++++++++++++++++++++++++++ 3 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 docs/install_guides/ubuntu-2204.rst diff --git a/docs/getting_started.rst b/docs/getting_started.rst index bfad407fe..587f6525c 100644 --- a/docs/getting_started.rst +++ b/docs/getting_started.rst @@ -282,7 +282,7 @@ If you want to do it, follow these steps. 2. **Install Linux** Most of the VPS providers have tools for installing Linux automatically. If - you're a beginner, we recommend **Ubuntu 20.04 LTS**. + you're a beginner, we recommend **Ubuntu 22.04 LTS**. For Raspberry Pi users, just install `Raspbian `_ on a micro-SD card. diff --git a/docs/install_guides/index.rst b/docs/install_guides/index.rst index b7babf610..dcc8cf975 100644 --- a/docs/install_guides/index.rst +++ b/docs/install_guides/index.rst @@ -6,7 +6,7 @@ Installing Red The list below shows the installation guides available based on the operating system being used. If you want to host Red on a VPS and are unsure what operating system you should choose, -we recommend **Ubuntu 20.04 LTS**. +we recommend **Ubuntu 22.04 LTS**. .. toctree:: :maxdepth: 1 @@ -30,4 +30,5 @@ we recommend **Ubuntu 20.04 LTS**. rocky-linux-8 ubuntu-1804 ubuntu-2004 + ubuntu-2204 ubuntu-non-lts diff --git a/docs/install_guides/ubuntu-2204.rst b/docs/install_guides/ubuntu-2204.rst new file mode 100644 index 000000000..d722982bc --- /dev/null +++ b/docs/install_guides/ubuntu-2204.rst @@ -0,0 +1,31 @@ +.. _install-ubuntu-2204: + +================================== +Installing Red on Ubuntu 22.04 LTS +================================== + +.. include:: _includes/linux-preamble.rst + +------------------------------- +Installing the pre-requirements +------------------------------- + +We recommend adding the ``deadsnakes`` ppa to install Python 3.9: + +.. prompt:: bash + + sudo apt update + sudo apt -y install software-properties-common + sudo add-apt-repository -y ppa:deadsnakes/ppa + +Now install the pre-requirements with apt: + +.. prompt:: bash + + sudo apt -y install python3.9 python3.9-dev python3.9-venv python3-pip git openjdk-11-jre-headless build-essential nano + +.. Include common instructions: + +.. include:: _includes/create-env-with-venv.rst + +.. include:: _includes/install-and-setup-red-unix.rst