Mono 2 4 on Ubuntu

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(instructions for installing Mono 2.4 packages from Debian sid on Ubuntu Jaunty (9.04))
(contrib & non-free not needed)
Line 9: Line 9:
 
* add the following to /etc/apt/sources.list :
 
* add the following to /etc/apt/sources.list :
  
  deb http://http.us.debian.org/debian/ unstable main contrib non-free
+
  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:
 
* 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:

Revision as of 07:50, 10 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/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 :
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