Mono is an open-source implementation of Microsoft's .NET Framework based on the ECMA standards for C# and the Common Language Runtime. A growing family of solutions and an active and enthusiastic contributing community helps position Mono to become the leading choice for the development of cross-platform applications.

In this guide, we will install Mono on CentOS 7.

Deploying your cloud server
If you have not already registered with Cloudwafer, you should begin by getting signed up. Take a moment to create an account after which you can quickly deploy your cloud servers.

Once you have signed up, log into your Cloudwafer Client Area with the password provided in your mail and deploy your Cloudwafer cloud server.

Updating System Packages
It is recommended that you update the system to the latest packages before beginning any significant installations. Issue the command below:

sudo yum update -y

Step 1: Install Mono GPG Keys
Issue the command below to install the Mono GPG keys required to install the latest version of Mono from its official repository.

rpmkeys --import ""

su -c 'curl | tee /etc/yum.repos.d/mono-centos7-stable.repo'

Step 3: Install Mono
Issue the command below to install Mono.

sudo yum install mono-complete

The package mono-complete should be installed to install everything - this should cover most cases of "assembly not found" errors.

Note: You can also issue the command sudo yum install mono-devel to compile code.

Step 4: Verify Installation
After installing the Mono package, issue the command below to verify the installation which will output the Mono version:

mono --version