diff options
author | Chocobozzz <me@florianbigard.com> | 2021-09-02 11:54:13 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-09-02 11:54:13 +0200 |
commit | 4d557df51c2ad8a87b9789b3caccc95c9880a944 (patch) | |
tree | c0c31d2ed72c7821e9390aa5277c3a9bd029225b | |
parent | fbcd44d2333bdd093334a90fd99f6d99bfd72744 (diff) | |
download | PeerTube-4d557df51c2ad8a87b9789b3caccc95c9880a944.tar.gz PeerTube-4d557df51c2ad8a87b9789b3caccc95c9880a944.tar.zst PeerTube-4d557df51c2ad8a87b9789b3caccc95c9880a944.zip |
Add note about global python
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | support/doc/dependencies.md | 31 |
2 files changed, 26 insertions, 6 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 29aea7922..0b9fddf8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
@@ -5,6 +5,7 @@ | |||
5 | ### IMPORTANT NOTES | 5 | ### IMPORTANT NOTES |
6 | 6 | ||
7 | * **Important:** Due to a bug in ffmpeg, PeerTube is not compatible with ffmpeg 4.4. See https://github.com/Chocobozzz/PeerTube/issues/3990 | 7 | * **Important:** Due to a bug in ffmpeg, PeerTube is not compatible with ffmpeg 4.4. See https://github.com/Chocobozzz/PeerTube/issues/3990 |
8 | * **Debian Bullseye admins:** Debian Bullseye removed `python` binary/link in favour of explicit `python2`/`python3` binaries. But `youtube-dl` used by PeerTube needs it so you'll have to install [python-is-python2](https://packages.debian.org/bullseye/python-is-python2) or [python-is-python3](https://packages.debian.org/bullseye/python-is-python3) **before** upgrading PeerTube | ||
8 | * PeerTube now supports NodeJS 16 | 9 | * PeerTube now supports NodeJS 16 |
9 | 10 | ||
10 | ### Plugins/Themes/Embed API | 11 | ### Plugins/Themes/Embed API |
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: |