]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - support/doc/dependencies.md
Add ability to import just one video from youtube
[github/Chocobozzz/PeerTube.git] / support / doc / dependencies.md
CommitLineData
afe81767 1# Dependencies
63bfad7e 2
e5203ffa 3## Debian / Ubuntu and derivatives
63bfad7e
C
4
5 1. Install NodeJS 8.x (current LTS):
6 [https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions](https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions)
7 2. Install yarn:
053ad3a3 8 [https://yarnpkg.com/en/docs/install#linux-tab](https://yarnpkg.com/en/docs/install#linux-tab)
63bfad7e
C
9 4. Run:
10
afe81767 11```
e5203ffa 12$ sudo apt update
35501c0f 13$ sudo apt install nginx ffmpeg postgresql openssl g++ make redis-server
63bfad7e
C
14```
15
afe81767 16## Arch Linux
63bfad7e
C
17
18 1. Run:
19
afe81767 20```
94a5ff8a 21$ sudo pacman -S nodejs yarn ffmpeg postgresql openssl redis
63bfad7e
C
22```
23
053ad3a3
EC
24## CentOS 7
25
26 1. Install NodeJS 8.x (current LTS):
27 [https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora](https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora)
28 2. Install yarn:
29 [https://yarnpkg.com/en/docs/install](https://yarnpkg.com/en/docs/install)
30 3. Install or compile ffmpeg:
31 * Install - [https://www.webfoobar.com/index.php/node/17](https://www.webfoobar.com/index.php/node/17)
32 * Compile - [https://gist.github.com/mustafaturan/7053900#file-latest-ffmpeg-centos6-sh](https://gist.github.com/mustafaturan/7053900#file-latest-ffmpeg-centos6-sh)
33 4. Run:
34
35```
36$ sudo yum update
37$ sudo yum install epel-release
38$ sudo yum update
35501c0f 39$ sudo yum install nginx postgresql postgresql-server openssl gcc make redis
053ad3a3
EC
40```
41
afe81767 42## Other distributions
63bfad7e
C
43
44Feel free to update this file in a pull request!
45