mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 19:58:54 -05:00
Update install_linux_mac.rst (#3336)
This commit is contained in:
parent
cb49c5d420
commit
5eb4bda600
@ -188,13 +188,11 @@ with zypper:
|
|||||||
|
|
||||||
.. _install-ubuntu:
|
.. _install-ubuntu:
|
||||||
|
|
||||||
~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
Ubuntu
|
Ubuntu LTS versions (18.04 and 16.04)
|
||||||
~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
.. note:: **Ubuntu Python Availability**
|
We recommend adding the ``deadsnakes`` ppa to install Python 3.8.1 or greater:
|
||||||
|
|
||||||
We recommend using the deadsnakes ppa to ensure up to date python availability.
|
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
@ -202,13 +200,31 @@ Ubuntu
|
|||||||
sudo apt install software-properties-common
|
sudo apt install software-properties-common
|
||||||
sudo add-apt-repository ppa:deadsnakes/ppa
|
sudo add-apt-repository ppa:deadsnakes/ppa
|
||||||
|
|
||||||
Install the pre-requirements with apt:
|
Now install the pre-requirements with apt:
|
||||||
|
|
||||||
|
.. code-block:: none
|
||||||
|
|
||||||
|
sudo apt -y install python3.8 python3.8-dev python3.8-venv python3-pip git default-jre-headless \
|
||||||
|
build-essential
|
||||||
|
|
||||||
|
.. _install-ubuntu-non-lts:
|
||||||
|
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Ubuntu non-LTS versions
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
We recommend installing pyenv as a method of installing non-native versions of python on
|
||||||
|
non-LTS versions of Ubuntu. This guide will tell you how. First, run the following commands:
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt -y install python3.8 python3.8-dev python3.8-venv python3-pip git default-jre-headless \
|
sudo apt -y install make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev \
|
||||||
build-essential
|
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-python-pyenv>`.
|
||||||
|
|
||||||
.. _install-python-pyenv:
|
.. _install-python-pyenv:
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user