Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
delete distfiles?
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
dilandau
Guru
Guru


Joined: 24 May 2003
Posts: 485
Location: germany

PostPosted: Mon Jul 10, 2006 4:30 pm    Post subject: delete distfiles? Reply with quote

is it safe to delete anything in /usr/portage/distfiles to make room on my hd? is there a portage command to do exactly that?
_________________
gentoo linux - amd duron stalebred 1600 - elsa gladiac 311 (nvidia) - elitegroup k7s5a (sis, lan) - 256mb ram - wintv pci fm - airstar2 dvb-t pci - ide cdwriter - hp psc 1110
Back to top
View user's profile Send private message
thorpe
l33t
l33t


Joined: 09 May 2005
Posts: 618
Location: Sydney, Australia.

PostPosted: Mon Jul 10, 2006 4:35 pm    Post subject: Reply with quote

Quote:
is it safe to delete anything in /usr/portage/distfiles to make room on my hd?

Yes.
Quote:
is there a portage command to do exactly that?

No, but...
Code:

sudo rm /usr/portage/distfiles/*

should be fine.
_________________
Research before taking any advice from me. I'm still coming to grips with this myself.
Back to top
View user's profile Send private message
shickapooka800
Guru
Guru


Joined: 05 Dec 2004
Posts: 304
Location: no

PostPosted: Mon Jul 10, 2006 4:35 pm    Post subject: Reply with quote

Code:

rm /usr/portage/distfiles/*

if you accidentally delete the folder called "cvs-src" in distfiles (like if you give rm the -r option) then it will jsut be re-created again later.

there is no harm in getting rid of the stuff in it. There is also no portage command that I know of, as the normal "remove" command works just fine.
Back to top
View user's profile Send private message
dilandau
Guru
Guru


Joined: 24 May 2003
Posts: 485
Location: germany

PostPosted: Mon Jul 10, 2006 4:38 pm    Post subject: Reply with quote

the point ist, that one needs to know about that directory.
_________________
gentoo linux - amd duron stalebred 1600 - elsa gladiac 311 (nvidia) - elitegroup k7s5a (sis, lan) - 256mb ram - wintv pci fm - airstar2 dvb-t pci - ide cdwriter - hp psc 1110
Back to top
View user's profile Send private message
thorpe
l33t
l33t


Joined: 09 May 2005
Posts: 618
Location: Sydney, Australia.

PostPosted: Mon Jul 10, 2006 4:47 pm    Post subject: Reply with quote

Quote:
the point ist, that one needs to know about that directory.

No... there is nothing in there that portage needs to know about.
_________________
Research before taking any advice from me. I'm still coming to grips with this myself.
Back to top
View user's profile Send private message
hjnenc
Veteran
Veteran


Joined: 15 Aug 2004
Posts: 1599
Location: Vienna, Austria

PostPosted: Mon Jul 10, 2006 4:48 pm    Post subject: Reply with quote

dilandau wrote:
the point ist, that one needs to know about that directory.

Otherwise, one has to know about the command ...

Btw. there is eclean which can be used to remove outdated stuff from the distfiles. (See man eclean for details). eclean is part of gentoolkit.
Back to top
View user's profile Send private message
tomk
Administrator
Administrator


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

PostPosted: Mon Jul 10, 2006 5:55 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads, please see this FAQ: SA1: Running out of disk space.
_________________
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