Debian, Ubuntu, and derivatives
Add the Mono Project GPG signing key and the package repository to your system (if you don't use sudo, being sure to switch t o root):
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EFecho "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.listsudo apt-get update
Run A package upgrade to upgrade existing packages to the latest available. Then install Mono as described in the Usage section.
Note: While the APT built against Debian Wheezy, it's compatible with a number of Debian derivatives (including Ubun TU) which means you can use the same repository across all these distributions.
Mod_mono (Ubuntu 13.10 and later, Debian 8.0 and later)
To enable Mod_mono installation in Ubuntu 13.10 and later, and Debian 8.0 and later (and their derivatives), you'll need To add a second repository to your system, in addition to the generic Debian/ubuntu repository above (if you don ' t use sudo, is sure to switch to root):
echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
Alpha Update Channel
If you want to test Bleeding-edge updates to Mono, we are now having an Alpha update channel. Please report bugs promptly, and we have the time to fix them before packages is migrated to stable!
Debian, Ubuntu, and derivatives (alpha channel)
echo "deb http://download.mono-project.com/repo/debian alpha main" | sudo tee /etc/apt/sources.list.d/mono-xamarin-alpha.listsudo apt-get update
Beta Update Channel
If you want to test Bleeding-edge updates to Mono, we are now having a beta update channel. Please report bugs promptly, and we have the time to fix them before packages is migrated to stable!
Debian, Ubuntu, and derivatives (Beta channel)
echo "deb http://download.mono-project.com/repo/debian beta main" | sudo tee /etc/apt/sources.list.d/mono-xamarin-beta.listsudo apt-get update
Install Mono on Linux