For those who don’t know, Mono provides a . NET-compatible and C# compiler tool sets which make it possible to develop and run C# code in Linux. For students or new users looking for a Linux system to start learning on, the easiest place to start is Ubuntu Linux OS. It’s a great Linux operating system for beginners and folks looking for easier Linux distribution to use. Ubuntu is an open-source Linux operating system that runs on desktops, laptops, servers, and other devices. Installing Mono on Ubuntu is pretty straightforward. Simply add its repository and install it from there. To do that, follow the steps below:
Add Mono Repository
If you want to always version of Mono on Ubuntu, add its repository. When its repository is added, all newer versions and updates will be available to install. To add its repository, run the commands below Next, run the commands below to add its repository and key and repository file to Ubuntu. That should make the Mono repository available on Ubuntu
Install Mono
Now that the Mono repository and key are added, run the commands below to finally install it. If you’re going to be building a .NET project, the easiest way to do it is by using MonoDevelop IDE. To install MonoDevelop, run the commands below: Use MonoDevelop to build your apps. If you’re going to be running the NUnit Unit Tests, you should install the NUnit Plugin for MonoDevelop. To do that, run the commands below: To verify if Mono is installed, run the commands below: You should see similar lines below: That should do it Conclusion: This post shows you how to install Mono and related development tools on Ubuntu 18.04 | 16.04. If you find any error above, please comment below: You may also like the post below: