Your Webhosting Questions
Answered by the Webhosting Experts

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

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here at: [email protected]. We are also available to you through our phone and live chat system 24/7/365.

Tags +