Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-19-2003, 02:47 PM   #1
Registered: Jun 2002
Distribution: RH, FC, FreeBSD,OpenBSD
Posts: 326

Rep: Reputation: 30
Removing software: How to clean up

Hello everyone.

As I recently installed a new copy of Slack 9 on my home box, I started to upgrade a few pieces of software. Specifically, mozilla.

After I upgraded, I started to think about cleaning up old software. Since the default install came with 1.3 and I upgraded to 1.4, I started to question how I could clean up the old mozilla.

So my question is, what are good ways to clean up and remove old pieces of software? For example, in my case, what would be a good way to remove the old mozilla and just have the new mozilla?

As I continue to work more and more with Linux, I like to keep my machines nice and tidy with no junk floating around. Thus, i'd like to find out the best way to remove old software and make sure nothing is leftover from that piece of software.

Can anyone explain to me or point me in the direction of a link I can read up on?


Old 07-19-2003, 03:07 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
I use rpm to maintain my packages but I often install from source. Several months ago I cleaned out all of the obsolete source using checkinstall. checkinstall is a way to switch a source package to a rpm, Debian, or Slackware package format.

The install process now becomes:

To get rid of the deadwood I installed them again using checkinstall. Then I uninstalled the rpm and they were gone.

I then reinstalled all of my current source packages using checkinstall and have used checkinstall consistently since then. Every package on my machine is now a rpm package where I used to have a mixture of rpm and source packages.

I do not know how the Slackware package system works but there is a good chance that you could do the same thing with checkinstall on Slackware as I have done with SuSE rpms.
Old 07-20-2003, 07:46 AM   #3
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
perhaps what you are looking for is "removepkg"...
Old 07-20-2003, 12:13 PM   #4
Registered: Jun 2002
Distribution: RH, FC, FreeBSD,OpenBSD
Posts: 326

Original Poster
Rep: Reputation: 30
Thanks guys for your input. I do appreciate it.

Although im running Slackware on my desktop and RH on my servers (for now at least), I wanted to find a very efficient way to remove out of date packages sort a speak.

I know that RPM's can be a very easy way to remove software as long as you dont run into a dependcy problem.

Anyway, for now at least, I want to make sure I know how to remove software that I compiled from source as well as make sure nothing is left over from the old stuff.

I've used the slack package management system and it is very nice.

But if anyone has further suggestions on how to go about removing old software and all the gunk along with it, I would greatly appreciate it as well.


P.S. im reading up on the links right now
Old 07-20-2003, 12:49 PM   #5
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
Slackware doesnt come with rpms.

But say you wanted to remove the old mozilla just do the 'removepkg file' I dont think that takes care of empty directories, but should get all files out. If you installed from source using make install, then a make uninstall should remove it. Again, i dont think taht removes empty directories either. Some programs dont have a make uninstall so then you have to manually find the binaries and libraries.

Also make sure to get all the hidden directories in ~/. Sometimes you can leave and the settings will carry over into the next version but i like to just remove it all before installing next version. Reason is something may have changed and the hidden config files may cause issues.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing software toes Mandriva 3 03-18-2005 12:26 PM
Removing software Ungluun Slackware 2 07-16-2004 08:08 PM
Removing software Jimi_l Fedora 5 07-02-2004 10:44 PM
Removing clean source directories? jong357 Linux From Scratch 2 01-22-2004 05:00 PM
Removing Installed Software SirLancelotX Slackware 3 07-14-2003 12:11 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration