[Mono-list] Mono in the mainstream

David Curylo curylod at asme.org
Mon Mar 23 19:27:53 UTC 2015


On Mar 23, 2015, at 3:14 PM, Jonathan Shore <jonathan.shore at gmail.com> wrote:

> It should be mentioned that popular Linux distributions (such as ubuntu) have very dated versions of mono available as packages (often default to 2.x)

They are kind of old, but not unusable 2.x versions anymore.  Ubuntu 14.04 LTS, for example, is on 3.2.8.

http://packages.ubuntu.com/search?keywords=mono&searchon=names&suite=trusty&section=all

But it’s also extremely easy to add the mono-project repos and install very new packages:

http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives

That ^ is what improved greatly in recent months, and spinning up a VM and getting mono installed from these repos is really, really easy.  Like this in a bootstrapping script:

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
sudo apt-get -y install mono-complete

And then to get nuget working like it does on Windows so you can pull dependencies after deploying:

wget http://nuget.org/nuget.exe
mozroots --import --sync
yes | certmgr -ssl https://nuget.org/	

Getting nginx working with mono is a little more involved, and it would be great if it were just one more package.


More information about the Mono-list mailing list