Haven't used Fedora much, I'm more of a Debian/Ubuntu/BSD (and for a short time Paldo (I'm better now!)) person.
Some package managers will store the down-loaded package file (*.rpm, *.deb etc) just in case you need to re-install at a later date, unfortunately over time you can easily collect gigabytes of the *kin things.
I guess with this command alone, I can keep cleaning up the packages which are no longer needed and get the latest packages Installed, without even running out of Root space!
I try this out and get back to you in case of any problems!!!
well, is there a way to know the Area where all the Softwares get installed? is the Area common to all the Packages or changes from packages to packages?
can I choose the Area where I would like to Install the packages?
Thanks!!
Message edited by compbug on 09-16-2008 at 04:38:10 PM
"yum clean all" removes any old RPMs left in /var/cache/yum/ from software updates
/var/cache/yum/ may contain 200MB to 2GB of RPMs on some systems
If you've never downloaded your updates using yum then "yum clean all" will not help you
You can remove some software you don't need by going to Applications => Add/Remove Software or using "yum remove pkg"
Your system logs in /var/log can be deleted if you don't need them
The du and df commands can be used to find out which directories and mount points are using all the space.
Quote :
can I choose the Area where I would like to Install the packages?
Sometimes "rpm [options] [--relocate OLDPATH=NEWPATH]" will install an RPM and relocate it from the default path ( OLDPATH ) to another path ( NEWPATH )
You cannot relocate already installed packages and some packages cannot be relocated at all!
This is a complicated manual process and is not a good idea for most users
GL
Message edited by linux_0 on 09-17-2008 at 12:38:24 AM
If you want to change where yum - the updates - are stored then edit /etc/yum.conf and change the cachedir= line to point to where you want it stored. If you don't need to save the RPMs after they are installed you can also change the line keepcache= to 0 < that is a zero so that they are automatically deleted after being installed. With Fedora 11 you can also add the line skip_broken=1 so that it doesn't get hung up on updates with missing dependencies.