Install MonoGame on Ubuntu based Linux


Some short notes on how to install MonoGame on Ubuntu based Linux with as little effort as possible.

sudo apt-get install mono-complete
sudo apt-get install monodevelop-monogame

This should install everything, and then some, to get started exploring MonoGame.

Mono on Linux doesn't trust any SSL certificates by default. Resolve this by importing Mozilla's list of trusted certificates to avoid confusing errors later on:

mozroots --import --sync

Troubleshooting

If running into trouble trying to start MonoDevelop try to start without redirecting stdout/stderr:

monodevelop --no-redirect

Why it gets redirected by default is beyond me since failing without any information to the user is not very helpful. Fail early and fail loudly is a useful rule of thumb and hiding error messages are just bad.

References


...

roppert

Programmer, tinker, maker, writer, human. See roppert.se