Save 15% on Instant Deploy Bare-Metal Servers in 26 Global Markets with Coupon Code: EdgeSave

What can I do to reduce the amount of space taken by /usr/ports directory?

The FreeBSD Ports and Packages Collection offers a simple way for users and administrators to install applications. These application use the /usr/ports directory.

Running “make clean” after installing applications will remove the work directory files.

Another way to do this is running the command:

portsclean -CD

where :-
-C clean work dirs
-D remove old distifiles not referenced by ports

Share on Twitter
Share on Facebook