diff --git a/Installing-on-Linux.md b/Installing-on-Linux.md new file mode 100644 index 0000000..09e8ed6 --- /dev/null +++ b/Installing-on-Linux.md @@ -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. \ No newline at end of file