Created Raspberry Pi Install script (markdown)

Twentysix 2016-01-20 18:28:17 +01:00
parent 6757fc3618
commit c71886a491

@ -0,0 +1,41 @@
#Raspberry Pi Autoinstaller
Save this as a .sh file and run it. Made by NepNep.
```
#!/bin/sh
sudo apt-get update
sudo apt-get install libssl-dev openssl -y
sudo mkdir pythonbuild
cd pythonbuild/
sudo wget https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tgz
sudo tar xvfz Python-3.5.1.tgz
cd Python-3.5.1/
sudo ./configure
sudo make
sudo make install
sudo apt-get install git -y
sudo pip3.5 install git+https://github.com/Rapptz/discord.py@async
sudo pip3.5 install requests
sudo pip3.5 install youtube_dl
sudo pip3.5 install beautifulsoup4
sudo apt-get install libxext-dev -y
cd
cd /usr/src
git clone git://git.videolan.org/x264
cd x264
./configure --host=arm-unknown-linux-gnueabi --enable-static --disable-opencl
sudo make
sudo install
cd /usr/src
git clone git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
sudo ./configure --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree --enable-openssl
sudo make
sudo make install
sudo apt-get install libopus0 -y
cd
cd Desktop/
sudo git clone https://github.com/Twentysix26/Red-DiscordBot.git
cd Red-DiscordBot
sudo python3 red.py
```