LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-05-2005, 02:52 AM   #1
beaucoup
Member
 
Registered: Jun 2003
Location: Florence, SC
Distribution: Gentoo i386
Posts: 180

Rep: Reputation: 30
Prune Portage tree


In the months I've been using Gentoo, I've had very little trouble with package management via the Portage system. My portage tree is starting to consume a large portion of disk space, though; I've even had to give /usr/portage its own filesystem, which is now nearly full. Can I safely empty the /usr/portage directory without affecting the functionality of my installed software or the integrity of the portage system?
 
Old 02-05-2005, 03:47 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,271

Rep: Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028
I would suggest you spend some time on the gentoo forums
You may not be surprised to learn you are not the first to ask this question.
It is an *extremely* good community.
 
Old 02-05-2005, 03:39 PM   #3
Adony
Member
 
Registered: Apr 2004
Location: Portugal
Distribution: Gentoo 2004.2 - working on LFS 6
Posts: 126

Rep: Reputation: 15
You can safely remove the packages in the /usr/portage/distfiles/ directory.
That directorty holds all the sources you donwload and so if you delete any of them you have to download it again if you want reinstall/modify the package ...

To a better way to this check
http://forums.gentoo.org/viewtopic.p...er=asc&start=0


Its also safe to remove the files in /var/tmp/portage/ and in /var/tmp/portage-pkg/ as these dirs only holds temp archives of the compillation process ..

Note that all this info was learned from the gentoo forum and take a look at it as syg00 said is always helpfull ...
 
Old 02-05-2005, 04:03 PM   #4
beaucoup
Member
 
Registered: Jun 2003
Location: Florence, SC
Distribution: Gentoo i386
Posts: 180

Original Poster
Rep: Reputation: 30
I hadn't noticed until you mentioned it that the distfile directory is what's really taking up all the space anyway. /var/tmp/portage is also rather large, though I find it rather curious it seemingly hasn't flushed itself EVER, if it really is a "temp" directory.

Anyway, thanks for the help. I'll be sure to explore the Gentoo forums for more information.
 
  


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
How to prune a print & file server to leave minimal services running wolfpeach Linux - Security 4 06-29-2004 06:35 AM
Need help with some commands to prune files... smeenge Linux - Software 2 05-21-2004 05:10 PM
the bible = the tree of the knowledge of good and evil () Jesus = the tree of life Michael111 General 2 04-14-2004 04:28 PM
need a P-Tree (Patricia Tree) library manaskb Programming 1 11-02-2002 06:15 PM
How do I prune logs manually? Jonah W Linux - Newbie 1 08-29-2001 04:21 AM


All times are GMT -5. The time now is 05:26 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration