aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-09-02 11:54:13 +0200
committerChocobozzz <me@florianbigard.com>2021-09-02 11:54:13 +0200
commit4d557df51c2ad8a87b9789b3caccc95c9880a944 (patch)
treec0c31d2ed72c7821e9390aa5277c3a9bd029225b /support/doc
parentfbcd44d2333bdd093334a90fd99f6d99bfd72744 (diff)
downloadPeerTube-4d557df51c2ad8a87b9789b3caccc95c9880a944.tar.gz
PeerTube-4d557df51c2ad8a87b9789b3caccc95c9880a944.tar.zst
PeerTube-4d557df51c2ad8a87b9789b3caccc95c9880a944.zip
Add note about global python
Diffstat (limited to 'support/doc')
-rw-r--r--support/doc/dependencies.md31
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
364. Install yarn, and be sure to have [a recent version](https://github.com/yarnpkg/yarn/releases/latest): 374. 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
395. Run: 405. Install Python:
41
42On Ubuntu <= bionic (18.04 LTS) or Debian <= Buster:
43
44```
45sudo apt update
46sudo apt install python-dev
47python --version # Should be >= 2.x or >= 3.x
48```
49
50On Ubuntu >= focal (20.04 LTS) or Debian >= Bullseye:
51
52```
53sudo apt update
54sudo apt install python3-dev python-is-python3 # python-is-python2 should also work
55python --version # Should be >= 2.x or >= 3.x
56```
57
586. Install common dependencies:
40 59
41``` 60```
42sudo apt update 61sudo apt update
43sudo apt install certbot nginx ffmpeg postgresql postgresql-contrib openssl g++ make redis-server git python-dev cron wget 62sudo apt install certbot nginx ffmpeg postgresql postgresql-contrib openssl g++ make redis-server git cron wget
44ffmpeg -version # Should be >= 4.1 63ffmpeg -version # Should be >= 4.1
45g++ -v # Should be >= 5.x 64g++ -v # Should be >= 5.x
46``` 65```
@@ -56,7 +75,7 @@ sudo systemctl start redis postgresql
561. Run: 751. Run:
57 76
58``` 77```
59sudo pacman -S nodejs-lts-fermium yarn ffmpeg postgresql openssl redis git wget unzip python2 base-devel npm nginx 78sudo pacman -S nodejs-lts-fermium yarn ffmpeg postgresql openssl redis git wget unzip python base-devel npm nginx
60``` 79```
61 80
62Now that dependencies are installed, before running PeerTube you should start PostgreSQL and Redis: 81Now that dependencies are installed, before running PeerTube you should start PostgreSQL and Redis: