Page:
Ubuntu Debian Install script
Pages
About Privileged Intents
About Virtual Environments
About public big bots
Audio module
Autorestarting (upstart)
Backing Up and Restoring Red
Backward incompatible changes in Red 3.5
Backward incompatible changes
Becoming an Approved Cog Creator
Changelog
Cog Admin
Cog Alias
Cog Audio
Cog Cleanup
Cog Cog Manager UI
Cog Core
Cog CustomCommands
Cog Dev
Cog Downloader
Cog Economy
Cog Filter
Cog General
Cog Image
Cog Mod
Cog ModLog
Cog Mutes
Cog Permissions
Cog Reports
Cog Streams
Cog Trivia
Cog Warnings
Creating a bot account
Creating cogs for Red
CustomCommands Cog Reference
Documentation Index
Framework App Command Check Decorators
Framework App Commands Package
Framework Bank
Framework Bot
Framework Command Check Decorators
Framework Commands Package
Framework Config
Framework Custom Events
Framework Data Manager
Framework Internationalization Framework
Framework Mod log
Framework RPC
Framework Shared API Keys
Framework Tree
Framework Utility Functions
Future changes currently deprecated functionality
General tips
Getting started
Home
Hosting Information
Installing Red on Alma Linux 10
Installing Red on Alma Linux 8.6 8.x
Installing Red on Alma Linux 9
Installing Red on Amazon Linux 2023
Installing Red on Arch Linux
Installing Red on CentOS Stream 10
Installing Red on CentOS Stream 9
Installing Red on Debian 12 Bookworm
Installing Red on Debian 13 Trixie
Installing Red on Fedora Linux
Installing Red on Oracle Linux 10
Installing Red on Oracle Linux 8.6 8.x
Installing Red on Oracle Linux 9
Installing Red on Raspberry Pi OS Legacy 12 Bookworm
Installing Red on Red Hat Enterprise Linux RHEL 10.2 10.x
Installing Red on Red Hat Enterprise Linux RHEL 8.10
Installing Red on Red Hat Enterprise Linux RHEL 9.4 9.x
Installing Red on Rocky Linux 10
Installing Red on Rocky Linux 8.6 8.x
Installing Red on Rocky Linux 9
Installing Red on Ubuntu 22.04 LTS
Installing Red on Ubuntu 24.04 LTS
Installing Red on Ubuntu 26.04 LTS
Installing Red on Ubuntu non LTS versions
Installing Red on Windows
Installing Red on macOS
Installing Red on openSUSE Leap 15.6
Installing Red on openSUSE Tumbleweed
Installing Red with Docker Compose
Installing Red
Installing on Linux
Installing on Mac
Installing with git
Installing without git
Migrating cogs from Red V2
Permissions Cog Reference
Publishing cogs for Red
Publishing your cog
Red V2 (Develop Branch) Issues
Red V2 Commands
Red and End User Data
Red v2
Requirements
Running Red on Fluxer
Setting up auto restart on Mac
Setting up auto restart using batch on Windows
Setting up auto restart using systemd on Linux
Slash Commands and Interactions
Trivia List Creation Guide
Troubleshooting
Ubuntu Debian Install script
Updating Red
Versioning
settings.json
No results
4
Ubuntu Debian Install script
Twentysix edited this page 2016-02-18 11:45:01 +01:00
#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
Installation Guides
- Installing Red
- Creating a bot account
- Updating Red
- Backing Up and Restoring Red
- About Virtual Environments
- Setting up auto-restart using batch on Windows
- Setting up auto-restart on Mac
- Setting up auto-restart using systemd on Linux
Cog Reference
User guides
- Getting started
- Running Red on Fluxer
- About Privileged Intents
- About public (big) bots
- Admin
- Alias
- Audio
- Cleanup
- Cog Manager UI
- Core
- CustomCommands
- Dev
- Downloader
- Economy
- Filter
- General
- Image
- Permissions
- Mod
- ModLog
- Mutes
- Reports
- Streams
- Trivia
- Warnings
- Red and End User Data
Cog Creation Guides
- Creating cogs for Red
- Slash Commands and Interactions
- Publishing cogs for Red
- Becoming an Approved Cog Creator
- Versioning
- End-user Guarantees
- Developer Guarantees
- Breaking Change Notices
Cog Development Framework Reference
- Shared API Keys
- Bank
- Bot
- Command Check Decorators
- App Command Check Decorators
- Commands Package
- App Commands Package
- Config
- Data Manager
- Custom Events
- Internationalization Framework
- Mod log
- RPC
- Tree
- Utility Functions
Others
Legacy (Red V2)