How to remove Mono from Ubuntu 9.04 Jaunty Jackalope [Updated]
It’s that time again
Fortunately, Mono is still quite trivial to remove and has not, apparently, increased its infiltration of the Ubuntu/Gnome code base as one might have been led to believe if you’d read this on the 1st April:
“Mark Shuttleworth, the Benevolent Dictator for Life of the popular Ubuntu Linux distro, has announced his plans to rewrite all of Gnome, X11 and the Linux kernel using the Mono platform…
Ubuntu is Linux for human beings, and, believe it or not, Microsoft employees are human beings too. We think we need to work closer with Microsoft to ensure heterogenous data silo paradigm middleware enhancements can continue to grow. Oh, and they gave me this nice T-shirt.”
As was the case with 8.10 Intrepid Ibex, there are just two applications in the default Jaunty desktop install which depend on Mono: F-Spot and Tomboy.
As an alternative to F-Spot, I happily use the Gnome viewer gThumb for managing the import and deletion of images from our digital cameras. I actually think it is better for a simple reason. It allows me to copy the images off my camera and delete them from the camera at the same time. The last time I tried F-Spot (admittedly quite a while ago now) I could never find a setting to do this.
And for note taking I have been happily using notecase. Although I note [pun intended] that the developer has stopped work on the free version himself the code is available under a BSD license so if anyone wants to pick it up and run with it they can. Anyway – notecase works fine for me and is still in the repos.
There are many other note taking type applications too. Here is what looks to be quite a comprehensive (albeit old) list of them: http://linuxappfinder.com/utilities/notes
But this is just GREAT!

Whilst I was preparing this article, I came across this on April 1st too. I actually did think it was a joke.
However it seems not; a bored and unemployed (ex Novell/Suse) developer, Hubert Figuière, is porting [has ported] Tomboy to C++ and calls it Gnote.
You can now use a virtually identical application to Tomboy without Mono! (This is still an early development so YMMV).
There is a PPA for Ubuntu here very kindly organised by Vadim Peretokin. I installed it on my intrepid desktop just to see it and it looks exactly the same as Tomboy!
Even better, as it isn’t built on top of Mono, it has fairly meagre requirements too:
sudo apt-get install gnote
[sudo] password for alord:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
gnote libboost-filesystem1.34.1 libboost-regex1.34.1 libxml++2.6-2
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 1130kB of archives.
After this operation, 3400kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
3.4MB vs. 54.0MB. That’s a decent comparison I think.
OK. The moment you’ve all been waiting for…
To remove that patent-trap-masquerading-as-free-software from your Shiny New Ubuntu Jaunty system simply type:
sudo apt-get purge libmono0 mono-common libgdiplus
[UPDATE]
Thanks to a keen eyed commenter, Lupine, we note that there is another package that lurks hidden and must be explicitly removed. I have added libgdiplus to this command since first publishing. To remove it individually just enter sudo apt-get purge libgdiplus. Thanks Lupine.
[/UPDATE]
Then watch what happens next…
The following packages will be REMOVED
f-spot* libart2.24-cil* libflickrnet2.1.5-cil* libgconf2.24-cil* libglade2.0-cil* libglib2.0-cil* libgmime2.2a-cil* libgnome-keyring1.0-cil* libgnome-vfs2.24-cil* libgnome2.24-cil* libgnomepanel2.24-cil* libgtk2.0-cil* libmono-addins-gui0.2-cil* libmono-addins0.2-cil* libmono-cairo2.0-cil* libmono-corlib2.0-cil* libmono-data-tds2.0-cil* libmono-data2.0-cil* libmono-getoptions2.0-cil* libmono-i18n2.0-cil* libmono-posix2.0-cil* libmono-security2.0-cil* libmono-sharpzip2.84-cil* libmono-sqlite2.0-cil* libmono-system-data2.0-cil* libmono-system-web2.0-cil* libmono-system2.0-cil* libmono0* libmono2.0-cil* libndesk-dbus-glib1.0-cil* libndesk-dbus1.0-cil* mono-2.0-gac* mono-2.0-runtime* mono-common* mono-gac* mono-jit* mono-runtime* tomboy*
0 upgraded, 0 newly installed, 38 to remove.
After this operation, 54.0MB disk space will be freed.
Do you want to continue [Y/n]?
Oh yes please…
To wrap up this post, we’ve been using Jaunty on various devices for some time now. It’s been really stable, boots very fast and is probably the best desktop operating system you can get anywhere and for any price right now. Thanks to Canonical and the rest of the amazing FOSS Community for making Ubuntu and this release happen.
Our Libertus Server Appliances, with the Mono-free Jaunty 9.04 server edition, are available from today.
How to remove Mono (M$) from Ubuntu Hardy Heron
I have had a long-time problem with Mono and the Mono-based applications that, for reasons I do not understand, come installed by default with Ubuntu.
For those who don’t know about it, Mono:
provides the necessary software to develop and run .NET client and server applications on Linux, Solaris, Mac OS X, Windows, and Unix.
That sounds pretty innocuous on the face of it. But Mono has a potentially fatal sting-in-the-tail for some, and leaves a rather nasty taste in the mouths of many others…
The potential sting is because Mono is developed and supported largely by Novell who are, as we all know so well, in a patent-protection deal with Microsoft. This caused a huge storm when they signed the deal – basically because it gave some “credence” to Ballmer’s “Linux/OSS breaches 235+ patents” line. So, it’s O.K. for Novell to do stuff that implements helps M$’s stuff because they have “protection” from being sued [yeah right - who really believes that one!]. But what about everyone else???
The nasty taste which has always ‘ever-so-slightly’ tainted my use of Ubuntu is that Mono is there only to support applications written in languages and for platforms which are basically Microsoft’s. It encourages software development using systems that are based on technologies almost certainly encumbered by a whole raft of M$ patents. To my mind, there are many great non M$ languages and architectures out there which are almost part-and-parcel of Linux programming and I see no need to bring .NET, ASP or even Visual Basic to my desktop. If I want to write an application, I could use PHP, Python, PERL, C, C++, Java and, of course, many others. Why do I need to endorse and encourage the proliferation of non-free software by relying on M$’s IP and the smell of their stinky patents?
Well, I figured I don’t. So, I thought I’d see what happened if I removed Mono from Ubuntu.
As a test I typed the following (but I didn’t accept the Y/n question before doing some further research):
sudo apt-get remove --purge mono-common
The following packages will be REMOVED
banshee f-spot libart2.0-cil libavahi1.0-cil libboo2.0-cil libflickrnet2.1.5-cil libgconf2.0-cil libglade2.0-cil
libglib2.0-cil libgmime2.2-cil libgnome-vfs2.0-cil libgnome2.0-cil libgtk2.0-cil libgtkhtml3.16-cil
libmono-addins-gui0.2-cil libmono-addins0.2-cil libmono-cairo1.0-cil libmono-cairo2.0-cil libmono-corlib1.0-cil
libmono-corlib2.0-cil libmono-data-tds1.0-cil libmono-data-tds2.0-cil libmono-security1.0-cil libmono-security2.0-cil
libmono-sharpzip0.84-cil libmono-sharpzip2.84-cil libmono-sqlite2.0-cil libmono-system-data1.0-cil
libmono-system-data2.0-cil libmono-system-web1.0-cil libmono-system-web2.0-cil libmono-system1.0-cil libmono-system2.0-cil
libmono-zeroconf1.0-cil libmono1.0-cil libmono2.0-cil libndesk-dbus-glib1.0-cil libndesk-dbus1.0-cil libtaglib2.0-cil
mono-common mono-gac mono-jit mono-runtime tomboy
This lot removes just three applications from Ubuntu 8.04: Tomboy, F-Spot and Banshee. And they aren’t exactly desktop behemoths either.
The long list of libraries and things that just might break something else looked pretty scary to simply accept without question. So I built a quick Ubuntu Hardy 8.04 VM using Virtualbox and tried it in there first. It seemed to be fine. Nothing else I tried broke. I rebooted the VM and tried loading several applications and it all worked as expected.
So here we go then; to get rid of Mono, Tomboy, Banshee and F-Spot, simply type the following.
sudo apt-get remove --purge mono-common libmono0
(The --purge switch removes the old packages from the package manager’s cache so you actually get the disk space freed up too)
Now I must confess to having used Tomboy in the past. But after a bit of research some time ago I found what I think is actually a better alternative called Zim. It is basically a desktop Wiki application:
Zim is a WYSIWYG text editor written in Gtk2-Perl which aims to bring the concept of a wiki to your desktop. Every page is saved as a text file with wiki markup. Pages can contain links to other pages, and are saved automatically. Creating a new page is as easy as linking to a non-existing page. Pages are ordered in a hierarchical structure that gives it the look and feel of an outliner. This tool is intended to keep track of TODO lists or to serve as a personal scratch book.
I have been using Zim for several months now and am very happy with it.
F-Spot is easily replaced by gthumb which, for me at least, does exactly the same thing: it gets photos from my camera.
I never used Banshee after looking at the UI once. I found Rhythmbox much more obvious and easy to use, and it is already installed as well.
So, to replace the 44 packages (and 3 apps) above with non-encumbered alternatives, simply type:
sudo apt-get install gthumb zim
Of course please check your own system before blindly following my instructions. I checked carefully before removing Mono to make sure nothing was going to break. I would recommend you do the same, and, of course, back up your Tomboy notes first

![Add 'How to remove Mono from Ubuntu 9.04 Jaunty Jackalope [Updated]' to Del.icio.us Add 'How to remove Mono from Ubuntu 9.04 Jaunty Jackalope [Updated]' to Del.icio.us](http://www.theopensourcerer.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png)
![Add 'How to remove Mono from Ubuntu 9.04 Jaunty Jackalope [Updated]' to digg Add 'How to remove Mono from Ubuntu 9.04 Jaunty Jackalope [Updated]' to digg](http://www.theopensourcerer.com/wp-content/plugins/social-bookmarking-reloaded/digg.png)
![Add 'How to remove Mono from Ubuntu 9.04 Jaunty Jackalope [Updated]' to Technorati Add 'How to remove Mono from Ubuntu 9.04 Jaunty Jackalope [Updated]' to Technorati](http://www.theopensourcerer.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png)
![Add 'How to remove Mono from Ubuntu 9.04 Jaunty Jackalope [Updated]' to Stumble Upon Add 'How to remove Mono from Ubuntu 9.04 Jaunty Jackalope [Updated]' to Stumble Upon](http://www.theopensourcerer.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png)
![Add 'How to remove Mono from Ubuntu 9.04 Jaunty Jackalope [Updated]' to Bloglines Add 'How to remove Mono from Ubuntu 9.04 Jaunty Jackalope [Updated]' to Bloglines](http://www.theopensourcerer.com/wp-content/plugins/social-bookmarking-reloaded/bloglines.png)
![Add 'How to remove Mono from Ubuntu 9.04 Jaunty Jackalope [Updated]' to SlashDot Add 'How to remove Mono from Ubuntu 9.04 Jaunty Jackalope [Updated]' to SlashDot](http://www.theopensourcerer.com/wp-content/plugins/social-bookmarking-reloaded/slashdot.png)
![Add 'How to remove Mono from Ubuntu 9.04 Jaunty Jackalope [Updated]' to FaceBook Add 'How to remove Mono from Ubuntu 9.04 Jaunty Jackalope [Updated]' to FaceBook](http://www.theopensourcerer.com/wp-content/plugins/social-bookmarking-reloaded/facebook.png)
![Add 'How to remove Mono from Ubuntu 9.04 Jaunty Jackalope [Updated]' to MySpace Add 'How to remove Mono from Ubuntu 9.04 Jaunty Jackalope [Updated]' to MySpace](http://www.theopensourcerer.com/wp-content/plugins/social-bookmarking-reloaded/myspace.png)
![Add 'How to remove Mono from Ubuntu 9.04 Jaunty Jackalope [Updated]' to Twitter Add 'How to remove Mono from Ubuntu 9.04 Jaunty Jackalope [Updated]' to Twitter](http://www.theopensourcerer.com/wp-content/plugins/social-bookmarking-reloaded/twitter.png)

