Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What can I clean up to save some space?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Cormac Redmond
n00b
n00b


Joined: 15 Oct 2005
Posts: 18

PostPosted: Sun Oct 30, 2005 10:52 am    Post subject: What can I clean up to save some space? Reply with quote

I'm running very low on HD space. I've deleted big files in /usr/portage/distfiles and obviously cleared /tmp /var/tmp etc.

I've been a bit of an idiot emerging it seems, 'cos I dont know where space has gone.
I havn't installed that much, but there is a lot of stuff I havn't a clue about.
Any directories or caches or anything I could clear up?
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Sun Oct 30, 2005 11:07 am    Post subject: Reply with quote

Look for ccache's cache, yeah - that could be a GB right there.
Also, learn these two commands:
Code:
df -h
du -chs *


To see where all the space went.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
Cormac Redmond
n00b
n00b


Joined: 15 Oct 2005
Posts: 18

PostPosted: Sun Oct 30, 2005 5:45 pm    Post subject: Reply with quote

Ah, du...what a command!
Back to top
View user's profile Send private message
philobedo
n00b
n00b


Joined: 12 Dec 2004
Posts: 60
Location: Montpellier, Marseille FR

PostPosted: Sun Oct 30, 2005 5:56 pm    Post subject: Reply with quote

Anyway you could also clean /var/log.

Do
Code:
 ls -lh /var/log

to see the space that log file take (some file can rich a certain weigth ...!!)

Then try to empty this.

You can also make
Code:
emerge -av depclean

to clean dependencies no more active. But it's a little bit dangerous! Be sure that all packages are unused.
_________________
C'est au pied du mur qu'on voit le mieux le mur ...
-------------
"Moi quand on m'en fait trop, je correctionne plus, je dynamite, je disperse, je ventile!!"
Back to top
View user's profile Send private message
Cormac Redmond
n00b
n00b


Joined: 15 Oct 2005
Posts: 18

PostPosted: Sun Oct 30, 2005 6:02 pm    Post subject: Reply with quote

Yeah, 250megs in /var/log/portage.

Safe to delete these, right?
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Sun Oct 30, 2005 6:08 pm    Post subject: Reply with quote

Moved from Kernel & Hardware to Duplicate Threads, please see this FAQ.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum