Mono 2 4 on Ubuntu

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(contrib & non-free not needed)
(should be more reliable now. package pinning is stupid.)
Line 2: Line 2:
  
 
Ubuntu Jaunty (9.04) ships with Mono 2.0.1 packages.  Here are quick instructions for installing the Mono 2.4 packages from Debian sid if you'd rather do that than compile Mono yourself:
 
Ubuntu Jaunty (9.04) ships with Mono 2.0.1 packages.  Here are quick instructions for installing the Mono 2.4 packages from Debian sid if you'd rather do that than compile Mono yourself:
 
* add the following to /etc/apt/apt.conf.d/07default (or create it if it doesn't already exist):
 
 
APT::Default-Release "jaunty";
 
  
 
* add the following to /etc/apt/sources.list :
 
* add the following to /etc/apt/sources.list :

Revision as of 09:13, 18 August 2009

Install Mono 2.4 packages on Ubuntu Jaunty (9.04)

Ubuntu Jaunty (9.04) ships with Mono 2.0.1 packages. Here are quick instructions for installing the Mono 2.4 packages from Debian sid if you'd rather do that than compile Mono yourself:

  • add the following to /etc/apt/sources.list :
deb http://http.us.debian.org/debian/ unstable main
  • download the file at http://gist.github.com/162751 (easiest way is to click the 'raw' link and save) and save as, or add to if it already exists:
/etc/apt/preferences
  • install the Debian package signing keys (you'll get a warning the first time running 'apt-get update'; that's what we're fixing with this step):
apt-get update
apt-get install debian-archive-keyring
apt-key add /usr/share/keyrings/debian-archive-keyring.gpg
apt-get update
  • install Mono 2.4 packages:
apt-get install -t unstable libmono-microsoft8.0-cil \
   libmono-system-runtime2.0-cil libgdiplus libmono-i18n2.0-cil \
   libmono-oracle2.0-cil mono-gmcs

This assumes you don't already have Mono installed. I didn't check that the package pinning done above in /etc/apt/preferences will work if Mono 2.0.1 packages are already installed. So it may be easiest to remove Mono 2.0.1 first, then do the above.

Personal tools
General
About This Wiki