LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Running out of disk space... clean up possible? (https://www.linuxquestions.org/questions/linux-newbie-8/running-out-of-disk-space-clean-up-possible-314387/)

donv2 04-18-2005 03:00 AM

Running out of disk space... clean up possible?
 
Hi,

Totally new to Linux although I've worked as a 'user' on a Solaris box for over a decade... but someone else was always responsible for the SW installs on those machines! ;-)

I'm setting up a machine for my mother with Fedora Core 3 on what used to be a Win98 box (got tired of the "it no longer gets my internet" within a week of each fix). The machine only has a ~3GB disk... which is now almost full...
[prompt]$ df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
3193084 3012744 18140 100% /
/dev/hda1 97570 15493 77039 17% /boot
none 127972 0 127972 0% /dev/shm

I've done up2date/yum a couple of times and have downloaded and installed many updated packages and have 3 versions of the kernel now showing in the grub picklist.

Where do the prior packages go? Do they stick around or just get overwritten?

If these take up extra space, is there any way of deleting/removing them easily? I've tried looking at the yum options and there is no obvious "clean up" or "remove obsolete", etc option I can see...

And yes, I will eventually get her a larger disk, but I'd like to finish the SW installs before figuring out the next step of moving everything to another disk. Several late nights into this project so far!

Looking forward to your good advice,
Don

heema 04-18-2005 03:42 AM

yum clean packages

the default cache folder in yum is /var/cache/yum

donv2 04-18-2005 11:13 PM

Thanks, this worked well -- there is now a lot more space to work with :cool:

heema 04-19-2005 03:48 AM

No problem , i am glad that you have the space back :)


All times are GMT -5. The time now is 09:16 PM.