LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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: 21,148

Rep: Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:57 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
Open Source Consulting | Domain Registration