Mono from TAR

This will compile Mono from a TAR package. It takes about 9 hours in sum @ 950MHz.

Procedure

Install additional needed packages
sudo apt-get install libtool libglib2.0-dev libxrender-dev libfontconfig1-dev libpng12-dev libgif-dev libjpeg8-dev libtiff5-dev libexif-dev gettext libcairo2-dev
Install libgdiplus
sudo apt-get install libgdiplus
(You can also compile the latest version. See 'Compile Mono from GIT' for details.)
Create a new folder where we place the files. You can use your home directory for that
cd ~
mkdir sources
cd sources
Check for the latest TAR version
wget -qO- http://download.mono-project.com/sources/mono/ |grep -o -E 'href="([^"#]+)"' | cut -d'"' -f2 | sort | uniq
or just watch at the website
http://origin-download.mono-project.com/sources/mono/
http://download.mono-project.com/sources/mono/
Download the latest release (at the moment of writing it is mono-3.6.0.tar.bz2)
wget http://download.mono-project.com/sources/mono/mono-3.6.0.tar.bz2
Extract the TAR file
tar -jxvf mono-3.6.0.tar.bz2
Enter the new directory
cd mono-3.6.0
run configure (this will take ~10 minutes @ 950MHz)
./configure --prefix=/usr/local/
/usr/local/ is the installation path of the compiled files
run make - compile all the files (this will take ~8:30 hours @ 950MHz)
sudo SKIP_AOT=true make
run make install - this will install the needed files into your system (this will take ~25 minutes @ 950MHz)
sudo SKIP_AOT=true make install

Uninstall

sudo make uninstall

Additional Information

Notes about compiling Mono 3.2.3 from a TAR Archiv
https://gist.github.com/pjvds/7185693


Send feedback on this topic
Copyright (C) 2013-2014 Dominik Schmidt / Holger Hemmecke. All rights reserved.