I came across this tutorial for Mono 1.9.1 (Mono 2.0 beta) while browsing the Mono mailing list.
If you want to use them add this to your /etc/apt/sources.list:
deb http://debian.meebey.net/etch-backports /
After that run:
apt-get update
Now you can upgrade or install Mono 1.9.1 and MonoDevelop 1.0 using your
favorite package managing tool (dselect/apt/aptitude/synaptic/whatever)
Ubuntu 8.04 only comes with the 5 month old Mono 1.2.6 (yet includes the recent MonoDevelop 1.0) and it's a huge hassle compiling Mono from source (it really shouldn't be, but it is). These packages are intended for Debian Etch, but should work under Ubuntu 7.10 (Gutsy Gibbon) and Ubuntu 8.04 (Hardy Heron). This also includes Moonlight (Silverlight for Linux) related development packages. If you just need to run Moonlight, not develop for it, then check out the prepackaged Moonlight builds.
You can also use this to install MonoDevelop 1.0, but that's already in Ubuntu repositories (for 8.04).
I hope this is useful for some people developing Mono applications on Ubuntu Linux. If there are any issues, contact Mirco 'meebey' Bauer, the maintainer of those packages.
My understanding is these will soon become available at backports.org in a week or so.
Edit: Looks like Mono has updated their Other Downloads page on their wiki to note this.
6 comments:
Thanks for doing this. The install fails under 7.10, though. Here is the message I get:
"The following packages have unmet dependencies:
mono: Depends: mono-common (= 1.2.4-6ubuntu6.1) but 1.9.1+dfsg-1~bpo40+1 is to be installed
Depends: mono-jit (= 1.2.4-6ubuntu6.1) but 1.9.1+dfsg-1~bpo40+1 is to be installed
E: Broken packages"
Installed the backports, then monodevelop from the Universe repository.
but a single crash, currently running monodevelop compiling and running my application works well.
This after spending the afternoon compiling 1.9.1 from source (unsuccessfully).
Thanks!
Darian.
Thank you VERY much!
It worked flawlessly under Ubuntu 8.04
I also downloaded the latest sources for mono-basic, compiled them and everything is working perfectly.
Thank you VERY much!
It worked flawlessly under Ubuntu 8.04
I also downloaded the latest sources for mono-basic, compiled them and everything is working perfectly.
Thanks as well.
Xavier - any recollection of what you did to build mono-basic? I downloaded, untarballed, ran
./configure --prefix=/usr
make
make install
and got errors running the make.
Incredible! Saved me hours of compiling and apt debugging!
Post a Comment