Skip to content

Instantly share code, notes, and snippets.

@jogerj
Last active October 28, 2021 20:57
Show Gist options
  • Save jogerj/cc3171d324515c1b2b72327ff0c077ce to your computer and use it in GitHub Desktop.
Save jogerj/cc3171d324515c1b2b72327ff0c077ce to your computer and use it in GitHub Desktop.
Quick guide on installation of MusicBot on Oracle Cloud

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 call pip with python3.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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment