coder, gamer, parent
Here is a bash script to automatically download, compile and install Mono on Ubuntu. It installs Mono 2.4.2.3. Should this be outdated, you can simply modify the install script to download the latest files.
A word of warning: This script will remove any previous installations of Mono done via apt-get. This means that existing Mono applications may cease to function or be removed entirely.
Before we begin, make sure you’re running with root privileges:
$ sudo bash
Then let’s download the script from my blog:
$ wget http://www.justinshield.com/files/install-mono.sh
Before we can execute the script, we need to give the file execute permissions:
$ chmod 700 install-mono.sh
Now we can execute the script:
$ ./install-mono.sh
The script will now go off and do all the bits that it needs to install Mono. This may take a good couple of minutes.
You will still need to configure apache2, so use the rest of the instructions on this page: Install Mono 2.4 on Ubuntu
If you have any issues with the script, let me know in the comments.
References:
Justin is a Senior Software Engineer living in Brisbane. A Polyglot Developer proficient in multiple programming languages including [C#, C/C++, Java, Android, Ruby..]. He's currently taking an active interest in Teaching Kids to Code, Functional Programming, Robotics, 3D Printers, RC Quad-Copters and Augmented Reality.
Software Engineering is an art form, a tricky art form that takes as much raw talent as it does technical know how. I'll be posting articles on professional tips and tricks, dos and donts, and tutorials.
4 Responses to Installing Mono on Ubuntu
physician assistant
August 6th, 2010 at 4:23 am
Great site. A lot of useful information here. I’m sending it to some friends!
wordpress
May 1st, 2011 at 1:22 am
Tks…
Great information! I’ve been looking for something like this for a while now. Thanks!…
Ldingllll
May 1st, 2011 at 8:35 pm
Tks…
I’ve visited many blogs,forums, but this time:How your fantastic forum is . It makes me surprise….
Jdingddd
May 9th, 2011 at 12:58 am
Tks…
I really need it,thank you very much!!!…