LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 11-18-2003, 05:21 AM   #1
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Cleaning Gentoo


Hello everybody. I just recently installed gentoo and after a few minor hickups I am very pleased with it. I am however a little concerned with the amount of disk space it is using. I have barely installed any packages and I'm up to 5Gb already. I suspect that emerge has something to do with it.

Are these packages deleted after they are downloaded and extracted or are they the cause of all this disk usage? Is this type of disk usage normal for a newly installed system with just XFree and Fluxbox installed?
 
Old 11-18-2003, 02:24 PM   #2
viniosity
Member
 
Registered: Oct 2001
Location: Washington, DC
Distribution: Debian, Archlinux, Ubuntu, Sidux
Posts: 244

Rep: Reputation: 30
You can probably clean up a bunch of files that were downloaded in /usr/portage/distfiles

They're already installed so they're ready to be rm'd
 
Old 11-18-2003, 03:51 PM   #3
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Original Poster
Rep: Reputation: 57
So portage does not delete those files? I can safely delete everything in /usr/portage/distfiles ?
 
Old 11-19-2003, 06:55 PM   #4
viniosity
Member
 
Registered: Oct 2001
Location: Washington, DC
Distribution: Debian, Archlinux, Ubuntu, Sidux
Posts: 244

Rep: Reputation: 30
I'm not the expert, but whenever I have trouble with an emerge the suggestions seem to include erasing the contents of that directory and starting again. My guess is that whatever is in that directory is part of a package that was not installed.
 
Old 11-19-2003, 07:25 PM   #5
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
You will need to manually clean your tmp/portage directory (compile storage).

If you remove the packages in your /usr/portage/distfiles and need to re-compile them, they will have to be re-downloaded. That's ok with a dsl, but not a very good idea on my 56k dialup..

Check the Gentoo forums for a script to clean out stale distfiles if on a dialup before deleting them.
 
Old 11-20-2003, 11:24 AM   #6
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Original Poster
Rep: Reputation: 57
I have a cable modem and all the packages are downloaded pretty quickly. /usr/portage/distfiles takes up 976Mb. So I guess I can safely delete these files.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cleaning up an old PC Merlyn Linux - Hardware 8 10-25-2005 07:33 AM
cleaning partitions kapslock Linux - General 7 07-15-2004 01:26 PM
Cleaning the system fenice1976 Linux - Software 2 05-16-2004 08:31 PM
cleaning up the mess Shade00 Linux - Newbie 3 05-10-2004 01:20 AM
cleaning up? phonecian Linux - Software 1 10-19-2003 07:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 04:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration