Ubuntu Debian Install script - TheNineTail/Red-DiscordBot GitHub Wiki

#Ubuntu/Debian Autoinstaller

Save this as a .sh file and run it. Made by NepNep. (adjust "-j2" to however many cores your machine has, or delete it entirely for single core machines(raspberrypi A/Zero).)

#!/bin/sh
cd
sudo apt-get install software-properties-common python-software-properties git make nasm pkg-config libx264-dev libxext-dev libxfixes-dev zlib1g-dev libopus0 libssl-dev openssl -y
sudo add-apt-repository -y ppa:mc3man/trusty-media
sudo apt-get install ffmpeg -y
sudo apt-get update
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 -j2
sudo make install
cd
sudo pip3.5 install --upgrade pip
sudo pip3.5 install git+https://github.com/Rapptz/discord.py@async
sudo pip3.5 install youtube_dl
sudo pip3.5 install beautifulsoup4
sudo pip3.5 install imgurpython
cd
git clone -b develop --single-branch https://github.com/Twentysix26/Red-DiscordBot.git Red-DiscordBot
cd Red-DiscordBot
sudo python3.5 red.py

Dont know how to run it? No Problem

sudo chmod +x PATH/TO/SCRIPT.sh
PATH/TO/SCRIPT.sh