Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Feb 2004 13:32:53 +0000
From:      Jez Hancock <jez.hancock@munk.nu>
To:        Rishi Chopra <rchopra@cal.berkeley.edu>
Cc:        questions@freebsd.org
Subject:   Re: Removing Ports
Message-ID:  <20040202133253.GA96417@users.munk.nu>
In-Reply-To: <401E4CA4.2010206@cal.berkeley.edu>
References:  <401E4CA4.2010206@cal.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 02, 2004 at 05:12:04AM -0800, Rishi Chopra wrote:
> My understanding is that 'make deinstall' only removes the port from the 
>  "ports database" - is there any way to actually remove all of the 
> files associated with a particular port?

See the ports(7) manpage.

'make deinstall' effectively 'uninstalls' the application and all
associated files and dirs, but only if those files/dirs haven't changed
since the application was first installed.

To make sure you clean out the port's working directory (where the port
is built etc), as well as uninstalling the application - add the 'clean'
target to the make command:

make clean deinstall


-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/        - ipfw peruser traffic logging



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040202133253.GA96417>