24

I'm a .Net developer and would like to investigate building and running our framework on Mono.

If the initial project is successful I will happily invest in an OS learning curve, but right now I want to focus on getting things up and running and seeing the code working.

What would be the best distribution to start with, assuming that I know very little about Linux, but am an experienced developer? How quickly (hours/days/weeks?) can I expect to achieve this?

Some Feedback so far (Thanks for the answers, guys): Decided on CentOS, but this was also because this fits in with a particular implementation of the .Net code that I want to port to Mono.The only issue was that I needed to go to version 4 for an out-the-box install of Mono

With some assistance I have been able to get this to a point where I am able to run compiles and start addressing the porting issues. This took a few hours - biggest learning curve is around driving Linux.

20081231: Found the following article for running mono on ubuntu: http://www.ddj.com/windows/212201484

1
  • You have a typo in the question. I believe that of is not needed Oct 5, 2008 at 22:25

11 Answers 11

37

I work for Novell, so I am going to recommend OpenSUSE as the distribution to use for Mono of course.

When you use OpenSUSE, not only you get Mono, but there are hundreds of open source libraries and .NET based applications that we have ported and make available through our update system.

Additionally, many of the preview features are available as packages that are ready to install on OpenSUSE. Other distributions tend to lag behind in both of the above areas.

Besides, the more OpenSUSE out there, the more funds that we get to continue to improve Mono.

3
  • 1
    Miguel, I'm a using the latest beta on Open SUSE now and am really impressed. Nov 6, 2009 at 13:14
  • 13
    How does Miguel feel about this now that he no longer works for Novell? Is OpenSUSE still the distribution of choice for mono? Aug 26, 2011 at 4:11
  • 2
    @JohnHargrove: Miguel switched recently to Mac OSX (Xamarin oblige). Besides, OpenSUSE still rocks.
    – wassimans
    Jan 4, 2013 at 12:07
7

The Mono download page gives a fairly big hint as to their preferred distros:

http://www.go-mono.com/mono-downloads/download.html

There's also a page for 'Unsupported distros':

http://www.mono-project.com/Other_Downloads

1
  • It's the downloads that are unsupported, I think; you'll get as much or as little support using those distros as any other, but the downloads come from third parties.
    – Mark Baker
    Oct 3, 2008 at 16:28
4

Probably Novell (SuSE), since they fund the mono project and pay the core developers, odds are they're using Novell workstations for their initial coding.

It really shouldn't matter much, though.

1
  • I would vote for Ubuntu, but I have to agree that among the mainline distros it actually shouldn't matter. Oct 3, 2008 at 13:23
4

To get started as quickly as possible, there is a VMWare image available on Mono's Download page. It comes with Mono and all its tools pre-installed, including a running ASP.Net server. You can start with this, and then migrate to whichever distro you choose if you go forward.

1
  • Not available anymore it seems. Dec 9, 2014 at 7:38
1

If you are a linux beginner I would start with Ubuntu Linux Server; I installed Mono on a Gentoo server a couple of weeks ago, just to find out that it can't run precompiled ASP.net sites :') You be warned, Linux ain't made for .NET. You should be able to set up the server in a day or 2, configuring Mono to work might take some time...

1
  • 1
    Ubuntu server isn't that great either. He might want a GUI. And a server distro is totally unnecessary for Mono development anyway, better to use the user-friendly desktop distro of his choice and install the devel environment there. Oct 3, 2008 at 14:50
1

Use Linux MINT - one of the most complete distros. Also, it has great package management and great startup configuration.

1
  • 4
    at least mention how to install mono then?
    – sehe
    Jul 9, 2011 at 19:54
1

It's integrated well with suse. But also works great on Ubuntu and ubuntu seems to appeal more to linux newcomers.

0

Like others have said, Novell has direct ties to Mono, but I wouldn't think the mono experience would vary a great deal amongst the bigger names (Suse, Ubuntu, Redhat...).

Are you more interested in getting something that's easy to get up and running or is there a plan to deploy this in production at some point down the road? If it's the former, my personal preference would be Ubuntu, but if it's the latter, then that's more of a question for you and which one will integrate better with your existing infrastructure, and provide the kind of support you're looking for, etc.

1
  • I would say there is a great gap between suse and ubuntu regarding mono. Mono in ubuntu is at least one generation behind and it is know to have the 'dependency hell' situation when it comes to install the latest from experimental sources. Notice that you posted this back in 2008 and here at 2014 my statement is still valid. Feb 21, 2014 at 13:31
0

If you want to avoid the OS-learning curve go for one of the desktop-oriented distributions like Ubuntu or Fedora. Any one of the "big" ones does have mono packages. If you want to try out specific (especially development-) versions, you'll have to do a manual install anyways.

Also avoid running it on real hardware :-) VirtualBox is a great and free virtualisation solution and can really take the hassle out of testing software, if you don't care about dual boot, master boot records and hardware failures.

0

I've been using Ubuntu for Mono development for a while now, and I've found it perfectly satisfactory, execept that it's a little tough to set up Apache with mod_xsp to get the web portion working. The GTK# in MonoDevelop with a Stetic UI is fine though.

0

As far for running mono, in my case for ASP.NET, I've a preference over arch linux (very popular rolling release distro, the one I use on my desktops) for development test server and ubuntu (or fedora) for production.

I've started using linux on Set/2010 as my main desktop solution and as senior .NET developer right know I' feeling very comfortable on it, I'me not an expert but I already manage the majority of the required tasks to do the job using my own skills (and a lot of Googling :D).

At the same time, concerning development, i still use a Windows 7 VM to run the best ever IDE for it VS2010. MonoDevelop is getting cooler but is very unstable an lack a lot of features for web development.

Learning about a new OS is good. I should use what best fit to do the job: linux, windows, etc.

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