File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Linux / UNIX and the fly likes How to clean up old software Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "How to clean up old software" Watch "How to clean up old software" New topic

How to clean up old software

Moi Tinh

Joined: Mar 05, 2005
Posts: 16
I just install Fedora 5 on my dual boot machine. Everything went fine. After that, I used pup and updated the following 2 applications to their latest versions

1) Kernel

From: 2.6.15_1.2054_FC5
To: 2.6.16_1.2096_FC5

2) Firefox


When I restarted my machine, in the GRUB loader, it displayed 2 Fedora kernels for me to choose. I want to remove the old kernel and only use the latest one from my machine and from the GRUB loader as well. I want to do the same thing for firefox also Can you tell me how? I'm new to linux so some instruction steps are greatly appreciated. Thanks
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

I guess there is nothing left from the old firefox.

For the kernel, you may edit menu.lst in /boot/grub to remove old kernel-entries.
Remove corresponding files in /boot.

The old modules should be found in /lib/modules/2.6.15...

Be careful when doing so.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17276

Unlike most apps, there can be multiple kernel versions installed at the same time. Do "rpm -qa | grep kernel" to list them, then use the "rpm --erase" command to delete the one(s) you don't want.

You may find that the package removal also removes the kernel from the grub menu. If not, just edit /etc/grub.conf and remove it manually.

For Firefox, an rpm upgrade will automatically add/remove files as needed. If you installed by another means (such as tarball), you may have to manually remove the old stuff.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: How to clean up old software
It's not a secret anymore!