Ă—

Install Mono on Ubuntu 20.04 - Step by Step Process ?

This article covers how to install mono on Ubuntu 20.04 system.

We have also explored how you can build a program using the mono framework. 

The mono installation takes time to complete on your Ubuntu system. So, be patient when you will install mono on your system.


To install Mono on Ubuntu:

1. Add its repository, run the commands below.

$ sudo apt update.
$ sudo apt install dirmngr gnupg apt-transport-https ca-certificates

2. Next, run the commands below to add its repository and key and repository file to Ubuntu.

$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
sudo sh -c 'echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" > /etc/apt/sources.list.d/mono-official-stable.list'

3. Now that Mono repository and key are added, run the commands below to finally install it.

$ sudo apt update
$ sudo apt install mono-complete


Install Mono on CentOS 8 - Step by Step Process ?

This article covers how to install and use Mono on CentOS 8 system. Mono is a platform for developing and running cross-platform applications based on the ECMA/ISO Standards. 

It is a free and open-source implementation of Microsoft’s .NET framework.


To Verify the installation by running the following command that prints the Mono version:

$ mono --version