Add Debian instructions

This commit is contained in:
Matthieu Grieger 2014-10-23 14:36:43 -07:00
parent 477cecf90f
commit 292b8f4f91

View file

@ -5,7 +5,9 @@ This setup guide is written for installation on an Ubuntu-based system. If I eve
**NOTE:** This installation guide is written from memory so if there is something wrong, please let me know! **NOTE:** This installation guide is written from memory so if there is something wrong, please let me know!
## Installing Dependencies ## Installing Dependencies
This is the bulk of the setup process. Most of the dependencies can be installed with the following `apt-get` commands: This is the bulk of the setup process. Most of the dependencies can be installed as follows for each distro:
### Ubuntu
``` ```
$ sudo add-apt-repository ppa:mc3man/trusty-media $ sudo add-apt-repository ppa:mc3man/trusty-media
@ -13,6 +15,15 @@ $ sudo apt-get update
$ sudo apt-get install protobuf-c-compiler libprotobuf-c0-dev lua5.2 liblua5.2-dev libvorbis-dev libssl-dev libev-dev python-pip ffmpeg libopusfile-dev git $ sudo apt-get install protobuf-c-compiler libprotobuf-c0-dev lua5.2 liblua5.2-dev libvorbis-dev libssl-dev libev-dev python-pip ffmpeg libopusfile-dev git
``` ```
### Debian
```
$ sudo apt-get update
$ sudo apt-get install protobuf-c-compiler libprotobuf-c0-dev lua5.2 liblua5.2-dev libvorbis-dev libssl-dev libev-dev python-pip ffmpeg libopus-dev
```
**The rest of these instructions are distro-independent. Do these on either Ubuntu or Debian.**
Then just install the python module `pafy` with `pip`: Then just install the python module `pafy` with `pip`:
``` ```