mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
* Exclude include files from being built * Split install guides into multiple documents (one per OS/version combo) * Update references * Unify anchor names * Update pyenv requirements in CentOS 7 guide * Update install guides for RHEL derivatives to not use pyenv * Add guide for Rocky Linux 8 * 8.4+ -> 8.4-8.x * Add 'the'
38 lines
943 B
ReStructuredText
38 lines
943 B
ReStructuredText
.. _install-ubuntu-1804:
|
|
|
|
==================================
|
|
Installing Red on Ubuntu 18.04 LTS
|
|
==================================
|
|
|
|
.. include:: _includes/linux-preamble.rst
|
|
|
|
-------------------------------
|
|
Installing the pre-requirements
|
|
-------------------------------
|
|
|
|
We recommend adding the ``git-core`` ppa to install Git 2.11 or greater:
|
|
|
|
.. prompt:: bash
|
|
|
|
sudo apt update
|
|
sudo apt -y install software-properties-common
|
|
sudo add-apt-repository -y ppa:git-core/ppa
|
|
|
|
We recommend adding the ``deadsnakes`` ppa to install Python 3.9:
|
|
|
|
.. prompt:: bash
|
|
|
|
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
|