Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to clean up old software

 
Moi Tinh
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic