Secured by Comodo InstantSSL

ServerFlux – Securing the Internet

Server Administration, Internet Security and Tutorials

Install Mono & Mono Develop on Debian Squeeze

We will firstly need to install monodevelop and its dependencies:

apt-get install bison build-essential libpango1.0-dev libgnome2.24-cil gnome-sharp2 git libtool
wget http://ftp.uk.debian.org/debian/pool/main/g/gtk-sharp2/gtk-sharp2_2.12.10-1_all.deb
dpkg -i gtk-sharp2_2.12.10-1_all.deb
apt-get -f install
wget http://serverflux.com/wp-content/plugins/download-monitor/download.php?id=25 -o mono-addins-0.6.zip
unzip mono-addins-0.6.zip
cd mono-addins-0.6.0
./configure; make; make install

We need to install GTK-Sharp and its dependencies:

Libffi

wget ftp://sourceware.org/pub/libffi/libffi-3.0.10.tar.gz
tar zxvf libffi-3.0.10.tar.gz
cd libffi-3.0.10
./configure
make
make install

Glib

wget http://ftp.gnome.org/pub/gnome/sources/glib/2.30/glib-2.30.1.tar.bz2
tar xvf glib-2.30.1.tar.bz2
cd glib-2.30.1
./configure
make
make install

GTK+

wget http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-2.24.8.tar.bz2
tar xvf gtk+-2.24.8.tar.bz2
cd gtk+-2.24.8.tar.bz2
./configure
make
make install

GTK#

git clone http://github.com/mono/gtk-sharp.git gtk-sharp-2-12-branch
cd gtk-sharp-2-12-branch
sh autogen.sh

And also the GNOME-SHARP package and it’s dependencies:

git clone http://github.com/mono/gnome-sharp.git master
cd master
./bootstrap-2.24
make
make install
cd ../
rm -R master
git clone http://github.com/mono/gnome-desktop-sharp.git master
cd master
sh autogen.sh

MonoDevelop Installation
Unfortunately installing the latest version from source led to a silly amount of errors and hence required a good number of tweaks and dependencies – which by this time I had; had enough, so instead we will simply download the deb:

wget http://ftp.us.debian.org/debian/pool/main/m/monodevelop/monodevelop_2.4+dfsg-3_all.deb
dpkg -i monodevelop_2.4+dfsg-3_all.deb
apt-get -f install

Mono Installation

wget http://ftp.novell.com/pub/mono/sources/mono/mono-2.10.2.tar.bz2
tar xvf mono-2.10.2.tar.bz2
cd mono-2.10.2
./configure --prefix=/usr/local; make; make install

To start mono develop:

export MONO_GAC_PREFIX=/usr/local:/usr
monodevelop
 

Comments

No comments so far.

Leave a Reply

 
(will not be published)