how to remove distfiles etc. (short of disk space on a laptop)

Darren Weber dweber at macports.org
Fri Nov 6 10:30:24 PST 2009


We have a laptop that is very short on disk space.  There is a bunch of
stuff lying around in:
/opt/local/var/macports/distfiles/
/opt/local/var/macports/build/
/opt/local/var/macports/packages/darwin/i386/*.tbz2

One way to clean up is to run the following:
sudo rm -rf /opt/local/var/macports/distfiles/*
sudo rm -rf /opt/local/var/macports/build/*
sudo rm -rf /opt/local/var/macports/packages/*

Are there any problems with that?  Is it preferable to use a port command to
cleanup all of this?

Is it still true that activation entails hard-links from:
/opt/local/var/macports/software
into
/opt/local
If so, it would be a disaster to run (right?):
sudo rm -rf /opt/local/var/macports/software/*


TIA,
Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20091106/b8503e32/attachment.html>


More information about the macports-users mailing list