Created Installing on Linux (markdown)

Twentysix 2016-01-14 12:13:00 +01:00
parent f4d324c767
commit bdcef4742a

20
Installing-on-Linux.md Normal file

@ -0,0 +1,20 @@
# Installation on Linux
For Linux, the procedure is mostly the same as Windows. Install [these requirements first]
(https://github.com/Twentysix26/Red-DiscordBot/wiki/Requirements).
You need some more if you're installing it on Linux though. Freedom doesn't come without a cost. Namely, ffmpeg and opus.
##Compiling ffmpeg with openssl support
This is very important. You must specify openssl support when you compile it.
You can follow [this article](http://ask.xmodulo.com/compile-ffmpeg-ubuntu-debian.html) (Ubuntu) or [this article](http://www.jeffreythompson.org/blog/2014/11/13/installing-ffmpeg-for-raspberry-pi/) (raspberry pi) but when you have to configure remember to add the `--enable-openssl` parameter. Like this:
###Ubuntu:
`./configure --enable-nonfree --enable-gpl --enable-libx264 --enable-x11grab --enable-zlib --enable-openssl`
###Raspberry pi:
`sudo ./configure --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree --enable-openssl`
##Opus
Work in progress.
And now, assuming everything went smooth, you're done. You can keep following the [windows guides](https://github.com/Twentysix26/Red-DiscordBot/wiki#windows) to install Red herself, as the procedure is pretty much the same. The worst part is over.