LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   Freebsd post-install clean up (https://www.linuxquestions.org/questions/%2Absd-17/freebsd-post-install-clean-up-337867/)

twantrd 06-27-2005 09:43 PM

Freebsd post-install clean up
 
Hi,

I'm trying out the freebsd 5.4 realm and so far I can see why people like it. It's very freaking secure even out of the box. Anyhow, I got my ports tree updated and I wanted to trim some of the object files to clear up some space. So, I did a:

cd /usr/ports; make clean

Make clean has been running forever cleaning up all sorts of junk. I mean, it's really taking a long time. That must've meant I had a lot of cruft in my ports tree. But I only installed lsof, wget, and pciutils. Why is it cleaning so much stuff and is that what you guys do after you install Freebsd to trim it? I'm open to criticism :). Thanks guys!


-twantrd

scuzzo84 06-28-2005 10:38 AM

from a similar post i had in the past on another forum, reply from the guru phoniex

"Downloaded tarballs are stored under /usr/ports/distfiles.

When you compile a port, the source tarball is uncompressed into /usr/ports/<category>/<port>/work/<tarball name> and the compile is done in that directory. When you run make clean the work/ directory is deleted.

If you install a port and it automatically installs any required dependencies, then then running make clean will also remove the work/ subdirectories for those ports as well.

The source tarballs are not deleted. You either have to delete them manually, or run make distclean, or use the handy portsclean tool that comes with portupgrade."


All times are GMT -5. The time now is 11:15 AM.