jQuery in Action, 2nd edition*
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
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "How to clean up old software" Watch "How to clean up old software" New topic
Author

How to clean up old software

Moi Tinh
Greenhorn

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

From: 1.5.0.1
To: 1.5.0.2

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.


http://home.arcor.de/hirnstrom/bewerbung
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16070
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to clean up old software