From 475416005541dd914030b03481596a62528359cd Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun, 12 Jan 2020 22:08:34 +0100 Subject: [PATCH] [Docs] Update Debian/Raspbian instructions (#3352) * Update install_linux_mac.rst * Update install_linux_mac.rst * Update install_linux_mac.rst --- docs/install_linux_mac.rst | 33 +++++++++++++++++++++++++++++---- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/docs/install_linux_mac.rst b/docs/install_linux_mac.rst index 26df6f823..1fe908070 100644 --- a/docs/install_linux_mac.rst +++ b/docs/install_linux_mac.rst @@ -51,15 +51,40 @@ CentOS and RHEL 7 Complete the rest of the installation by `installing Python 3.8 with pyenv `. +.. _install-debian-stretch: + +~~~~~~~~~~~~~~ +Debian Stretch +~~~~~~~~~~~~~~ + +.. note:: + + This guide is only for Debian Stretch users, these instructions won't work with + Raspbian Stretch. Raspbian Buster is the only version of Raspbian supported by Red. + +We recommend installing pyenv as a method of installing non-native versions of python on +Debian Stretch. This guide will tell you how. First, run the following commands: + +.. code-block:: none + + sudo echo "deb http://deb.debian.org/debian stretch-backports main" >> /etc/apt/sources.list.d/red-sources.list + sudo apt update + sudo apt -y install make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev \ + libsqlite3-dev wget curl llvm libncurses5-dev xz-utils tk-dev libxml2-dev \ + libxmlsec1-dev libffi-dev liblzma-dev libgdbm-dev uuid-dev python3-openssl git openjdk-11-jre + CXX=/usr/bin/g++ + +Complete the rest of the installation by `installing Python 3.8 with pyenv `. + .. _install-debian: .. _install-raspbian: -~~~~~~~~~~~~~~~~~~~ -Debian and Raspbian -~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~ +Debian and Raspbian Buster +~~~~~~~~~~~~~~~~~~~~~~~~~~ We recommend installing pyenv as a method of installing non-native versions of python on -Debian/Raspbian. This guide will tell you how. First, run the following commands: +Debian/Raspbian Buster. This guide will tell you how. First, run the following commands: .. code-block:: none