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