Install Mono on Ubuntu

Published on Thursday, March 19, 2015

My testing Ubuntu is Ubuntu 14.04 LTS edition.

1: Add the Mono Project GPG signing key and package repository Ubuntu system:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
 
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
 
sudo apt-get update

2: Install compile code pacakge:

sudo apt-get install mono-devel

3: Install complete package for covering most cases of “assembly not found” errors:

sudo apt-get install mono-complete

4: Install package for PCL compilation support:

sudo apt-get install referenceassemblies-pcl

Above 4 steps should installed Mono done for Ubuntu 14.04 LTS. If Ubuntu will release newer versions, or other Linux systems, please check mono project official website.