Removing Ports

2004-02-02 Thread Rishi Chopra
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?

--
Rishi Chopra
http://www.ocf.berkeley.edu/~rchopra
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Removing Ports

2004-02-02 Thread Rus Foster
On Mon, 2 Feb 2004, 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?

You can do pkg_delete name

Rus
-- 
e: [EMAIL PROTECTED]
t: 1-888-327-6330
www.jvds.com - Root on your own box
www.vpscolo.com - Your next hosting company
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Removing Ports

2004-02-02 Thread Jez Hancock
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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Removing Ports

2004-02-02 Thread Lowell Gilbert
Rishi Chopra [EMAIL PROTECTED] writes:

 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?

'make deinstall' does a few other things as well; among them, a
pkg_delete(1).  This will remove the files installed by the port
(barring a bug in the port...).  Note that the 'make deinstall' 
will only delete the port if the port skeleton is still for the 
same version installed.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password public
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Removing Ports

2004-02-02 Thread Kris Kennaway
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?

No, 'make deinstall' removes the installed files too.  That's one of
the major reasons why the ports collection is useful.

Kris


pgp0.pgp
Description: PGP signature