mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Remove multi-line commands from Unix install docs (#4550)
This commit is contained in:
parent
8b2c6226f6
commit
0d650f6765
@ -59,8 +59,7 @@ CentOS and RHEL 7
|
|||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
sudo yum -y groupinstall development
|
sudo yum -y groupinstall development
|
||||||
sudo yum -y install zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel \
|
sudo yum -y install zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl-devel xz xz-devel tk-devel libffi-devel findutils java-11-openjdk-headless
|
||||||
openssl-devel xz xz-devel tk-devel libffi-devel findutils java-11-openjdk-headless
|
|
||||||
sudo yum -y install centos-release-scl
|
sudo yum -y install centos-release-scl
|
||||||
sudo yum -y install devtoolset-8-gcc devtoolset-8-gcc-c++
|
sudo yum -y install devtoolset-8-gcc devtoolset-8-gcc-c++
|
||||||
echo "source scl_source enable devtoolset-8" >> ~/.bashrc
|
echo "source scl_source enable devtoolset-8" >> ~/.bashrc
|
||||||
@ -89,8 +88,7 @@ CentOS and RHEL 8
|
|||||||
sudo yum -y install epel-release
|
sudo yum -y install epel-release
|
||||||
sudo yum -y update
|
sudo yum -y update
|
||||||
sudo yum -y groupinstall development
|
sudo yum -y groupinstall development
|
||||||
sudo yum -y install git zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel \
|
sudo yum -y install git zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl-devel xz xz-devel tk-devel libffi-devel findutils java-11-openjdk-headless
|
||||||
openssl-devel xz xz-devel tk-devel libffi-devel findutils java-11-openjdk-headless
|
|
||||||
|
|
||||||
Complete the rest of the installation by `installing Python 3.8 with pyenv <install-python-pyenv>`.
|
Complete the rest of the installation by `installing Python 3.8 with pyenv <install-python-pyenv>`.
|
||||||
|
|
||||||
@ -109,9 +107,7 @@ Debian/Raspbian Buster. This guide will tell you how. First, run the following c
|
|||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt -y install make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev \
|
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-headless
|
||||||
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-headless
|
|
||||||
CXX=/usr/bin/g++
|
CXX=/usr/bin/g++
|
||||||
|
|
||||||
Complete the rest of the installation by `installing Python 3.8 with pyenv <install-python-pyenv>`.
|
Complete the rest of the installation by `installing Python 3.8 with pyenv <install-python-pyenv>`.
|
||||||
@ -180,9 +176,7 @@ First, add the Opt-Python community repository:
|
|||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
source /etc/os-release
|
source /etc/os-release
|
||||||
sudo zypper -n ar -f \
|
sudo zypper -n ar -f https://download.opensuse.org/repositories/home:/Rotkraut:/Opt-Python/openSUSE_Leap_${VERSION_ID}/ Opt-Python
|
||||||
https://download.opensuse.org/repositories/home:/Rotkraut:/Opt-Python/openSUSE_Leap_${VERSION_ID}/ \
|
|
||||||
Opt-Python
|
|
||||||
sudo zypper -n --gpg-auto-import-keys ref
|
sudo zypper -n --gpg-auto-import-keys ref
|
||||||
|
|
||||||
Now install the pre-requirements with zypper:
|
Now install the pre-requirements with zypper:
|
||||||
@ -253,8 +247,7 @@ Now install the pre-requirements with apt:
|
|||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
sudo apt -y install python3.8 python3.8-dev python3.8-venv python3-pip git openjdk-11-jre-headless \
|
sudo apt -y install python3.8 python3.8-dev python3.8-venv python3-pip git openjdk-11-jre-headless build-essential
|
||||||
build-essential
|
|
||||||
|
|
||||||
Continue by `creating-venv-linux`.
|
Continue by `creating-venv-linux`.
|
||||||
|
|
||||||
@ -284,8 +277,7 @@ Now install the pre-requirements with apt:
|
|||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
sudo apt -y install python3.8 python3.8-dev python3.8-venv python3-pip git openjdk-11-jre-headless \
|
sudo apt -y install python3.8 python3.8-dev python3.8-venv python3-pip git openjdk-11-jre-headless build-essential
|
||||||
build-essential
|
|
||||||
|
|
||||||
Continue by `creating-venv-linux`.
|
Continue by `creating-venv-linux`.
|
||||||
|
|
||||||
@ -309,8 +301,7 @@ Now install the pre-requirements with apt:
|
|||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
sudo apt -y install python3.8 python3.8-dev python3.8-venv python3-pip git openjdk-11-jre-headless \
|
sudo apt -y install python3.8 python3.8-dev python3.8-venv python3-pip git openjdk-11-jre-headless build-essential
|
||||||
build-essential
|
|
||||||
|
|
||||||
Continue by `creating-venv-linux`.
|
Continue by `creating-venv-linux`.
|
||||||
|
|
||||||
@ -335,9 +326,7 @@ installing pyenv. To do this, first run the following commands:
|
|||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
sudo apt -y install make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev \
|
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-headless
|
||||||
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-headless
|
|
||||||
CXX=/usr/bin/g++
|
CXX=/usr/bin/g++
|
||||||
|
|
||||||
And then complete the rest of the installation by `installing Python 3.8 with pyenv <install-python-pyenv>`.
|
And then complete the rest of the installation by `installing Python 3.8 with pyenv <install-python-pyenv>`.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user