Deleting ports distfiles

Ivan Klymenko fidaj at
Sun Nov 16 23:20:18 UTC 2014

В Sun, 16 Nov 2014 23:29:37 +0100
"Dr. Peter Voigt" <pvoigt at> пишет:

> I have just seen that /usr/ports/distfiles has grown up to 12 GiB. My
> hopefully not too stupid question is: Can I safely delete all files
> under /usr/ports/distfiles, e.g.
> # rm -rf /usr/ports/distfiles/*
> I strongly suppose so but I am not sure. Thanks for any feedback.

You can clean up, but if you'll rebuild the ports that the source will
be downloaded again.
Therefore it is better to do like this: portmaster -y --clean-distfiles

More information about the freebsd-ports mailing list