From c71886a491520462812b5a926f3064a4c3277a56 Mon Sep 17 00:00:00 2001 From: Twentysix Date: Wed, 20 Jan 2016 18:28:17 +0100 Subject: [PATCH] Created Raspberry Pi Install script (markdown) --- Raspberry-Pi-Install-script.md | 41 ++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Raspberry-Pi-Install-script.md diff --git a/Raspberry-Pi-Install-script.md b/Raspberry-Pi-Install-script.md new file mode 100644 index 0000000..1d5be78 --- /dev/null +++ b/Raspberry-Pi-Install-script.md @@ -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 +``` \ No newline at end of file