Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-16-2005, 12:16 PM
|
#1
|
Member
Registered: Nov 2004
Location: Edinburgh, UK
Distribution: Fedora Core 3
Posts: 188
Rep:
|
yum update... question :S
If I use yum update or yum update <package>, it will download the full latest version of the package to update. It appears so, as some packages are average 15MB download.
When it untars them to install them, what happens to the tar.gz files afterwards? Are they still there on my PC? Where and how do I clean them up / remove them to free space?
|
|
|
06-16-2005, 01:13 PM
|
#2
|
LQ Newbie
Registered: Jun 2005
Location: North Hampshire, England.
Distribution: SuSE 10
Posts: 6
Rep:
|
I believe they are removed as I never found any remnants of yum based updates...
I could be wrong...
|
|
|
06-16-2005, 01:51 PM
|
#3
|
Member
Registered: May 2005
Distribution: Mandriva 2005LE
Posts: 78
Rep:
|
some are in /var/cache/yum/REPO_NAME/packages.
|
|
|
06-17-2005, 06:42 PM
|
#4
|
Member
Registered: Nov 2004
Location: Edinburgh, UK
Distribution: Fedora Core 3
Posts: 188
Original Poster
Rep:
|
Quote:
Originally Posted by a thing
You don't download tarballs; you download RPMs.
If you didn't change /etc/yum.conf the RPMs will be in /var/cache/yum.
|
Hmm, I couldn't figure out how to read du -h or df -h properly. So I used Konqueror instead. And from the properties of the folders:
/var/cache/yum == 401.8MB
/var/cache/ == 405.7MB
Wow, shouldn't we clear this stuff? Is it okay to clear the cache? Such as doing a massive rm -Rf * ?
|
|
|
06-17-2005, 08:55 PM
|
#5
|
LQ Newbie
Registered: Sep 2004
Location: au.vic.melb
Distribution: Fedora 7 x3, FC6, FC3.
Posts: 27
Rep:
|
---
/var/cache/yum == 401.8MB
/var/cache/ == 405.7MB
---
I think this means the cache dir (which includes cache/yum), so the size is really in cache/yum.
I keep the updates so that if I need to re-install etc or get another machine up to the same state, I already have the rpms and hdr files on disk.
I made this easier for myself by changing the cache directory to a different partition (that doesn't get erased on install). I also copy this to other machines that have the same version installed.
However, I do tidy up the cache rpm by using gftp to compare the cache/yum folder to fedora/redhat update ftp site. Then I delete any files that are shown as differing (highlighted) on my disk (these are eg old versions of packages - kernel / mozilla etc are large, so this saves lots of space).
|
|
|
06-17-2005, 11:01 PM
|
#6
|
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151
Rep:
|
You can clean up the yum crumbs with either:
yum clean packages
or
yum clean all
|
|
|
All times are GMT -5. The time now is 02:17 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|