Automatic Unattended MonoGame Installation Script for Linux

Finally I found some time to put together an installation script for MonoGame for Linux!

Why this script was written?

To make it as easy as possible to install MonoGame on Linux and to have content building work right from the start.

Works with:
Linux Mint 20.2 Uma (tested :white_check_mark:)
Linux Mint 20.3 Una (tested :white_check_mark:)
Ubuntu 20.04 Focal Fossa (tested :white_check_mark:)
Ubuntu 21.04 Hirsute Hippo (tested :white_check_mark:)
Ubuntu 21.10 Impish Indri (tested :white_check_mark:)

This is what I use now to setup a complete MonoGame installation on Linux:

Instructions:

  1. clone the repository
  2. run the install-monogame.sh script
  3. at the end of the installation two test projects (cornflower blue: template test project and monogame orange: content test project) are automatically started to verify everything works as it should (just close them manually when you see them)

If the script has helped you support me to help me make more stuff for you in the future:
TWITTER: https://twitter.com/Kwyrky3D
YOUTUBE: https://youtube.com/user/kwyrky
KO-FI: https://ko-fi.com/kwyrky
Bitcoin: bc1qzw7ufzth3396xd02zdruwpq2v77u6xglsc5ksx

If you make a donation text me beforehand a pm here with the amount if you like! I will consider giving away a gift to some of the donators at some point.

Also please leave some info if it worked or not. Feedback welcome!

3 Likes

Installation on Linux Mint 20.2 Uma:

For some reason recording does not work on my machine with the Ubuntu distros.

Glad I could finally publish the script for the MonoGame community and looking forward what cool stuff will be made on Linux with MonoGame the upcoming year!

Tested the script with Linux Mint 20.3 Una and it works there too :slight_smile:

If someone has really good hardware and a fast internet connection unlike myself I would appreciate if the installation using the script could be done and recorded in a virtual machine because my recording above is like 10x the time it should take.

I uploaded a new demo video of MonoGame installation on Linux Mint 20.3 Una:

If run on a normal linux mint installation and no virtual machine like in this case it should be a lot faster.
After the script is finished you have a working MonoGame installation. You can then immediately start with MonoGame and compile content so everything will just work.

1 Like