I need to program dot net apps via Ubuntu, so where can I get them because I always failed to compile the source??


5 Answers 5



Debian, Ubuntu, and derivatives Add the Mono Project GPG signing key (if you don’t use sudo, be sure to switch to root):

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF

Next, add the package repository (if you don’t use sudo, be sure to switch to root):

echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list

Update your package cache if necessary (i.e. run apt-get update), and 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 package is built against Debian Wheezy, it is compatible with a number of Debian derivatives (including Ubuntu) which means you can use the same repository across all these distributions.

  • +1 - this is the best option. Official packages from an official repository.
    – STW
    Apr 27, 2016 at 20:18
  • This is now deprecated apparently :'( Why, I have no idea. Oct 26, 2016 at 17:47

You can search Launchpad for PPAs:


The top few there give you the choice between stable, beta and bleeding edge software.

Even if you understand the inherent risks in running unreleased software, be aware that these PPAs are mostly maintained by individuals and you're installing software from these people. You should ask yourself:

  • Do you trust the maintainer? You're giving them root on your system.
  • Is it safe to run this version of Mono on Ubuntu? Will it break things that depend on other versions?
  • Will I be at risk if a security flaw is found in one of these packages? Do I need urgent security patches and will this repo give me them?

I'm not saying all PPAs are evil or wrong, just be aware about what you're doing.


After a bit of google searching I've found them here.

  • 4
    After a bit of searching you found something completely irrelevant to the question.
    – mikerobi
    Sep 28, 2014 at 11:15

There is a ppa for Mono 4.x https://launchpad.net/~keks9n/+archive/monodevelop-latest

sudo add-apt-repository ppa:keks9n/monodevelop-latest

apt-get update

apt-get install mono-complete

this should do the trick.

  • Did not work for me. Jun 18, 2015 at 13:35
  • Last updated in 2012
    – Reinderien
    Jul 12, 2017 at 13:44

In addition to the other answers is https://launchpad.net/~directhex/+archive/monoxide which is "maintained by official Debian/Ubuntu Mono team".

  • Last update is in 2013
    – Reinderien
    Jul 12, 2017 at 13:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.