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 8.
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.
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 "http://pool.sks-keyservers.net/pks/lookup?op=get&search=0x3fa7e0328081bff6a14da29aa6a19b38d3d831ef" su -c 'curl https://download.mono-project.com/repo/centos8-stable.repo | tee /etc/yum.repos.d/mono-centos8-stable.repo'
Step 2: Install Mono
Issue the command below to install Mono.
sudo yum install mono-complete
You can also install the package
mono-devel to compile code while the package
mono-complete should be installed to install everything as this should cover most cases of "assembly not found" errors.
Step 4: Verify Installation
After installing the Mono package, issue the command below to verify the installation which will output the Mono version: