diff options
Diffstat (limited to 'support/doc/dependencies.md')
-rw-r--r-- | support/doc/dependencies.md | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/support/doc/dependencies.md b/support/doc/dependencies.md index 0d9ab89d7..8fe190320 100644 --- a/support/doc/dependencies.md +++ b/support/doc/dependencies.md | |||
@@ -7,16 +7,17 @@ _note_: only **LTS** versions of external dependencies are supported. If no LTS | |||
7 | <!-- START doctoc generated TOC please keep comment here to allow auto update --> | 7 | <!-- START doctoc generated TOC please keep comment here to allow auto update --> |
8 | <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> | 8 | <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> |
9 | 9 | ||
10 | |||
11 | - [Debian / Ubuntu and derivatives](#debian--ubuntu-and-derivatives) | 10 | - [Debian / Ubuntu and derivatives](#debian--ubuntu-and-derivatives) |
12 | - [Arch Linux](#arch-linux) | 11 | - [Arch Linux](#arch-linux) |
13 | - [CentOS 7](#centos-7) | 12 | - [CentOS 7](#centos-7) |
14 | - [CentOS 8](#centos-8) | 13 | - [Centos 8](#centos-8) |
14 | - [Rocky Linux 8.4](#rocky-linux-84) | ||
15 | - [Fedora](#fedora) | 15 | - [Fedora](#fedora) |
16 | - [RHEL 8](#red-hat-enterprise-linux-8) | 16 | - [Red Hat Enterprise Linux 8](#red-hat-enterprise-linux-8) |
17 | - [FreeBSD](#freebsd) | 17 | - [FreeBSD](#freebsd) |
18 | - [macOS](#macos) | 18 | - [macOS](#macos) |
19 | - [Gentoo](#gentoo) | 19 | - [Gentoo](#gentoo) |
20 | - [OpenBSD](#openbsd) | ||
20 | - [Other distributions](#other-distributions) | 21 | - [Other distributions](#other-distributions) |
21 | 22 | ||
22 | <!-- END doctoc generated TOC please keep comment here to allow auto update --> | 23 | <!-- END doctoc generated TOC please keep comment here to allow auto update --> |
@@ -36,11 +37,29 @@ _note_: only **LTS** versions of external dependencies are supported. If no LTS | |||
36 | 4. Install yarn, and be sure to have [a recent version](https://github.com/yarnpkg/yarn/releases/latest): | 37 | 4. Install yarn, and be sure to have [a recent version](https://github.com/yarnpkg/yarn/releases/latest): |
37 | [https://yarnpkg.com/en/docs/install#linux-tab](https://yarnpkg.com/en/docs/install#linux-tab) | 38 | [https://yarnpkg.com/en/docs/install#linux-tab](https://yarnpkg.com/en/docs/install#linux-tab) |
38 | 39 | ||
39 | 5. Run: | 40 | 5. Install Python: |
41 | |||
42 | On Ubuntu <= bionic (18.04 LTS) or Debian <= Buster: | ||
43 | |||
44 | ``` | ||
45 | sudo apt update | ||
46 | sudo apt install python-dev | ||
47 | python --version # Should be >= 2.x or >= 3.x | ||
48 | ``` | ||
49 | |||
50 | On Ubuntu >= focal (20.04 LTS) or Debian >= Bullseye: | ||
51 | |||
52 | ``` | ||
53 | sudo apt update | ||
54 | sudo apt install python3-dev python-is-python3 # python-is-python2 should also work | ||
55 | python --version # Should be >= 2.x or >= 3.x | ||
56 | ``` | ||
57 | |||
58 | 6. Install common dependencies: | ||
40 | 59 | ||
41 | ``` | 60 | ``` |
42 | sudo apt update | 61 | sudo apt update |
43 | sudo apt install certbot nginx ffmpeg postgresql postgresql-contrib openssl g++ make redis-server git python-dev cron wget | 62 | sudo apt install certbot nginx ffmpeg postgresql postgresql-contrib openssl g++ make redis-server git cron wget |
44 | ffmpeg -version # Should be >= 4.1 | 63 | ffmpeg -version # Should be >= 4.1 |
45 | g++ -v # Should be >= 5.x | 64 | g++ -v # Should be >= 5.x |
46 | ``` | 65 | ``` |
@@ -56,7 +75,7 @@ sudo systemctl start redis postgresql | |||
56 | 1. Run: | 75 | 1. Run: |
57 | 76 | ||
58 | ``` | 77 | ``` |
59 | sudo pacman -S nodejs-lts-fermium yarn ffmpeg postgresql openssl redis git wget unzip python2 base-devel npm nginx | 78 | sudo pacman -S nodejs-lts-fermium yarn ffmpeg postgresql openssl redis git wget unzip python base-devel npm nginx |
60 | ``` | 79 | ``` |
61 | 80 | ||
62 | Now that dependencies are installed, before running PeerTube you should start PostgreSQL and Redis: | 81 | Now that dependencies are installed, before running PeerTube you should start PostgreSQL and Redis: |