sebgate20
August 10th, 2005, 11:29 AM
Right - sorry this has been a long time in coming but get all the packages working together ain't easy. This shows you how to install Mono 1.1.8 (from Debian) on Ubuntu Hoary.
Before we begin, some things to remember:
You are mixing Breezy and Hoary packages which is not a good thing but it seems to work alright
You are mixing Debian and Ubuntu packages which is also not a good thing but it seems to work
It has worked for me a on a few machines but it might be different for you
This is NOT recommended if you are unsure of what you are doing
This is NOT recommended if you want to stick to Ubuntu packages only
This will not be recommended by any of the Ubuntu or Debian developers
You can always wait for Breezy :-)
Section 1 - Removing Old Mono from Backports/Hoary Repos
You should remove any Mono packages you already have installed. You must have these remove (if you don't have them installed, running this anyway to check won't harm):
sudo apt-get remove mono mono-utils monodevelop monodoc mono-devel mono-mcs mono-assemblies-arch
Section 2 - Getting Breezy Packages
Some of the Debian packages depend on versions higher than those in Hoary so you need to upgrade to the Breezy ones. You MUST install them in this order for it to work:
mkdir ~/Mono
cd ~/Mono
wget http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6_2.3.5-1ubuntu8_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-dev_2.3.5-1ubuntu8_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-i686_2.3.5-1ubuntu8_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/locales_2.3.5-1ubuntu8_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/l/linux-kernel-headers/linux-kernel-headers_2.6.11.2-0ubuntu10_i386.deb
sudo dpkg -i linux-kernel-headers_2.6.11.2-0ubuntu10_i386.deb
sudo dpkg -i libc6_2.3.5-1ubuntu8_i386.deb
sudo dpkg -i locales_2.3.5-1ubuntu8_all.deb
sudo dpkg -i libc6-dev_2.3.5-1ubuntu8_i386.deb
sudo dpkg -i libc6-i686_2.3.5-1ubuntu8_i386.deb
Section 3 - Adding the Repo
Add these lines to your /etc/apt/sources.list (sudo gedit /etc/apt/sources.list)
## Debian Mono
deb http://debian.meebey.net/ ./
Save and close
Then run
sudo apt-get update
Section 4 - Install Mono Basics
PLEASE NOTE: DO NOT INSTALL mono-assemblies-arch AS IT WILL BREAK YOU SYSTEM!
Just Mono
sudo apt-get install mono libmono0
Mono Development
sudo apt-get install mono libmono0 libmono-dev mono-mcs mono-devel mono-utils
Section 5 - Installing Mono Development Suite
If you want to install MonoDevelop, you need a newer Monodoc (1.0.6) so we need to turn to Debian again:
mkdir ~/Mono/MonoDoc
cd ~/Mono/MonoDoc
wget http://ftp.de.debian.org/debian/pool/main/m/monodoc/monodoc-base_1.0.6-3_all.deb
wget http://ftp.uk.debian.org/debian/pool/main/m/monodoc/monodoc_1.0.6-3_all.deb
wget http://ftp.uk.debian.org/debian/pool/main/m/monodoc/monodoc-browser_1.0.6-3_all.deb
wget http://ftp.uk.debian.org/debian/pool/main/m/monodoc/monodoc-manual_1.0.6-3_all.deb
sudo dpkg -i *.deb
You can now install MonoDevelop with:
sudo apt-get monodevelop
Let me know if it works. I hope it does! But PLEASE be careful and make sure you know what you are letting yourself in for ;-)
Seb
Before we begin, some things to remember:
You are mixing Breezy and Hoary packages which is not a good thing but it seems to work alright
You are mixing Debian and Ubuntu packages which is also not a good thing but it seems to work
It has worked for me a on a few machines but it might be different for you
This is NOT recommended if you are unsure of what you are doing
This is NOT recommended if you want to stick to Ubuntu packages only
This will not be recommended by any of the Ubuntu or Debian developers
You can always wait for Breezy :-)
Section 1 - Removing Old Mono from Backports/Hoary Repos
You should remove any Mono packages you already have installed. You must have these remove (if you don't have them installed, running this anyway to check won't harm):
sudo apt-get remove mono mono-utils monodevelop monodoc mono-devel mono-mcs mono-assemblies-arch
Section 2 - Getting Breezy Packages
Some of the Debian packages depend on versions higher than those in Hoary so you need to upgrade to the Breezy ones. You MUST install them in this order for it to work:
mkdir ~/Mono
cd ~/Mono
wget http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6_2.3.5-1ubuntu8_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-dev_2.3.5-1ubuntu8_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-i686_2.3.5-1ubuntu8_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/locales_2.3.5-1ubuntu8_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/l/linux-kernel-headers/linux-kernel-headers_2.6.11.2-0ubuntu10_i386.deb
sudo dpkg -i linux-kernel-headers_2.6.11.2-0ubuntu10_i386.deb
sudo dpkg -i libc6_2.3.5-1ubuntu8_i386.deb
sudo dpkg -i locales_2.3.5-1ubuntu8_all.deb
sudo dpkg -i libc6-dev_2.3.5-1ubuntu8_i386.deb
sudo dpkg -i libc6-i686_2.3.5-1ubuntu8_i386.deb
Section 3 - Adding the Repo
Add these lines to your /etc/apt/sources.list (sudo gedit /etc/apt/sources.list)
## Debian Mono
deb http://debian.meebey.net/ ./
Save and close
Then run
sudo apt-get update
Section 4 - Install Mono Basics
PLEASE NOTE: DO NOT INSTALL mono-assemblies-arch AS IT WILL BREAK YOU SYSTEM!
Just Mono
sudo apt-get install mono libmono0
Mono Development
sudo apt-get install mono libmono0 libmono-dev mono-mcs mono-devel mono-utils
Section 5 - Installing Mono Development Suite
If you want to install MonoDevelop, you need a newer Monodoc (1.0.6) so we need to turn to Debian again:
mkdir ~/Mono/MonoDoc
cd ~/Mono/MonoDoc
wget http://ftp.de.debian.org/debian/pool/main/m/monodoc/monodoc-base_1.0.6-3_all.deb
wget http://ftp.uk.debian.org/debian/pool/main/m/monodoc/monodoc_1.0.6-3_all.deb
wget http://ftp.uk.debian.org/debian/pool/main/m/monodoc/monodoc-browser_1.0.6-3_all.deb
wget http://ftp.uk.debian.org/debian/pool/main/m/monodoc/monodoc-manual_1.0.6-3_all.deb
sudo dpkg -i *.deb
You can now install MonoDevelop with:
sudo apt-get monodevelop
Let me know if it works. I hope it does! But PLEASE be careful and make sure you know what you are letting yourself in for ;-)
Seb