Installation of MonoGame 3.8 on Linux Mint 20 Ulyana for game development

Write tutorials here
There are more tutorials here
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
Post Reply
Level 3
Level 3
Posts: 118
Joined: Wed Jul 10, 2019 5:10 am

Installation of MonoGame 3.8 on Linux Mint 20 Ulyana for game development

Post by kwyrky »

MonoGame is a cross-platform game development framework. The installation since version 3.8 has become easier.

You actually need to satisfy only two dependencies to be able to setup MonoGame 3.8.

1. The .NET Core SDK
2. The official MonoGame templates

1. Installation of the .NET Core SDK
Add repository

Code: Select all

wget -O /tmp/packages-microsoft-prod.deb
sudo dpkg -i /tmp/packages-microsoft-prod.deb
sudo apt update

Install packages

Code: Select all

sudo apt-get -y install apt-transport-https
sudo apt-get -y install dotnet-sdk-3.1
2. Installation of the official MonoGame templates

Code: Select all

dotnet new --install MonoGame.Templates.CSharp
Now you can run some dotnet commands to setup a solution. To make it easier, I created MonoGame Kickstarter which you can find on Github here:

Here is a little demo of MonoGame Kickstarter on YouTube:

The blue window is a MonoGame OpenGL game running on Linux. From there you can start writing your own 2D and 3D game(s) using just a text editor or a full IDE like rider.

If you prefer to set up everything yourself and have more control over the created solution I recommend the official MonoGame website where you find documentation for everything. The commands shown here are also taken from the official MonoGame documentation. Please leave feedback if you found this tutorial useful or not.

Have a nice day! :-)
Post Reply