Tutorials:Installing Prerequisites on Linux - tobiasschulz/MonoGame-SDL2 GitHub Wiki
This page lists the requirements for creating a MonoGame project. These steps were created while installing on a Ubuntu machine so they may differ if you are using a different OS.
Install the following packages using your pkg manager:
- MonoDevelop
- git
- Cola Git GUI
- mesa-common-dev (OpenTk needs this to create a window)
- Open Cola Git GUI
- Select "Clone..."
- Enter the URL from the front page, which should be https://github.com/mono/MonoGame.git
- Select a destination folder
- Press "Pull..."
- Select "origin/develop"
- Press "Pull"
Now that you have cloned MonoGame, you can open the MonoGame.Framework.Linux.sln in MonoDevelop. You may find that you cannot Build because OpenTK could not be found. To rectify:
- Click "Project" -> "Edit References"
- Click the tab ".Net Assembly"
- Find OpenTK.dll (Likely in "OpenTK/1.0/Binaries/OpenTK/Release/OpenTK.dll")