Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!cs.utexas.edu!howland.reston.ans.net!agate!violet.berkeley.edu!jkh From: jkh@violet.berkeley.edu (Jordan K. Hubbard) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: correct use of ports ? Date: 11 Jul 1995 01:54:23 GMT Organization: University of California, Berkeley Lines: 19 Message-ID: <3tslkf$kaj@agate.berkeley.edu> References: <3tsc4r$5g5@stang.netspace.net.au> <kargl-1007951755090001@mac-pal.apl.washington.edu> NNTP-Posting-Host: violet.berkeley.edu In article <kargl-1007951755090001@mac-pal.apl.washington.edu>, steve <kargl@apl.washington.edu> wrote: >After you install the port, you can delete the source files; ie > >%rm -rf /path/to/port_dir This is actually a bad idea since you'd delete all the meta files for the port itself in addition to the `extracted' copy. Just make install to install the port, make clean to clean up after the build and, if you ever decide you wish to get rid of the installed copy later, use pkg_delete to delete it. Don't just go removing files with rm! In the case of both the ports's data files AND the resulting port that it installs, some other utilities are keeping track of them and should be used for any removal operation. If you don't want to fuss with any of the package stuff manually then you can even use the `pkg_manage' command to add and delete packages. Jordan