I found this out a couple of months ago: It *is* possible to uninstall programs in Linux, properly…if you use the Debian package management at least :)
So that means Debian and Ubuntu are good to go :)

Normally to remove a package you do this:

dpkg –remove package
or
dpkg –purge package
or
apt-get remove package

I usually use purge because it gets rid of the config files too :)
If you use apt-get remove though, you can then do this:

apt-get autoremove

And it will get rid of any libraries that are not in use by any packages. So if you install a package, and it ocmes with a bunch of libraries that nothing else uses, and you then uninstall that program…then autoremove gets rid of all those libraries too :)

Kind of like the old deborphan program…but built into apt :)

Neat huh?

Written on November 8th, 2007 , Informative

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

SirSpanky.com – The Secret Diary of James Pearce Aged 20-Something is proudly powered by WordPress and the Theme Adventure by Eric Schwarz
Entries (RSS) and Comments (RSS).

SirSpanky.com – The Secret Diary of James Pearce Aged 20-Something

Personal jorunal of a professional geek – James Pearce in Perth, Australia