MusicBot on Oracle Cloud with ARM instance
- Cloned repo (use
review
branch) + config as per usual sudo yum install python-devel
- Compiled and installed python 3.9.7 (use this guide https://www.pro-oracle.com/2019/05/oracle-linux-7-install-python-37-from.html)
- ensure run.py is running on python 3.9.* you just installed
sudo yum install opus
- Install ffmpeg (grab binary here https://johnvansickle.com/ffmpeg/, put/link in
/usr/local/bin
or configure PATH to the ffmpeg binary) - ensure
pip -V
uses python from 3.9.* otherwise always callpip
withpython3.9 -m pip
pip install -r requirements.txt
- for anything that fails, read the log,
pip install <package-name>
pip install discord[all]
- Finally,
python3.9 run.py
Disclaimer: I am not responsible if any of the above breaks your instance or anything. Make sure you know what you're doing!