PDA

View Full Version : How to delete some packages in FC5?


jeffer138
5th October 2006, 06:07 PM
Hi, I'm a freshman on LINUX, so forgive my simple question(s) please .
My recent question is that the space of hard disk is not enough (total 5.5G,but only 0.7M free now),and Ithink some of the packages is not necessary for me now.
I have tried to use "yum" to delete some packages but failed .
When I use "yum list extras" , the responsing message as following :

Loading "installonlyn" plugin
Setting up repositories
core

Then my system do nothing (like stopped , but can be cancled by press“ctrl+c”).
Please tell me the next two questions as detailed as possible in easy English .
1,If I delete some packages, the packages needed can work normally or not ?
2,How to delete some packages in FC5 with yum?
Thank you!

ppesci
5th October 2006, 06:19 PM
When i need delete a package use rpm:

rpm -e packagename

you can use System > add/remove software at lesta in KDE

HTH

Pietro Pesci Feltri

lazlow
5th October 2006, 07:24 PM

If you remove a package NO it will not run.

IF you know what package you want to remove then (say firefox): yum remove firefox . You will probably have to be root to do this. If you do not know what a package does then: yum info package. It will spit out a description of the package, if it is installed location will be installed, if not it will tell which (of your repos) it is at.

If you go man yum you will find that yum list extras will only list the installed packages that are not available in any of your repos. This will take a long time as it has to search through every installed package and match it against every repo. Hopefully all of your packages came from one of your repos. What you may want to look at is yum list installed. This will provide a long list. You can look through this list and see if there are any packages that you no longer want. Make sure you fully understand what you are removing before you remove it.

Lazlow

Dan
5th October 2006, 07:33 PM
Lazlow has the right of it, but I'd say a new larger HDD is in order!

Dan

u-noneinc-s
5th October 2006, 07:55 PM
If in doubt about what you can remove safely, just ask, but I have to agree with TangledWeb. 5.5GB is not nearly enough for FC if you are going to do anything with it.
I have 3 partitions for linux. / is 10GB and 8GB of that is used, then I have 30+GB /home with 20+GB used and 1 GB swap.

jeffer138
6th October 2006, 03:39 PM
Thanks a lot to all of you ! Your replies are very wonderful and excellent (especially lazlow ),thanks in deed !
I had installed XP on my laptop ,and there 're many documents in the XP system.
So only 5.5G for FC , it seems not a good idea now.
And I have decided to install FC on my desktop computer ,disk space should not be a problem to again.