From owner-freebsd-questions Fri Jan 26 9:50:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from out4.mx.nwbl.wi.voyager.net (out4.mx.nwbl.wi.voyager.net [169.207.1.77]) by hub.freebsd.org (Postfix) with ESMTP id E412537B401 for ; Fri, 26 Jan 2001 09:50:21 -0800 (PST) Received: from earth.execpc.com (dpoland@earth.execpc.com [169.207.16.1]) by out4.mx.nwbl.wi.voyager.net (8.11.1/8.11.1) with ESMTP id f0QHoLL67250; Fri, 26 Jan 2001 11:50:21 -0600 (CST) Received: (from dpoland@localhost) by earth.execpc.com (8.9.0) id LAA14587; Fri, 26 Jan 2001 11:50:21 -0600 (CST) Message-Id: <200101261750.LAA14587@earth.execpc.com> Subject: Re: Ports and packages To: mavetju@chello.nl (Edwin Groothuis) Date: Fri, 26 Jan 2001 11:50:21 -0600 (CST) From: "Doug Poland" Cc: freebsd-questions@freebsd.org Reply-To: dpoland@omniresources.com In-Reply-To: <20010126184228.A62745@d9168.upc-d.chello.nl> from "Edwin Groothuis" at Jan 26, 1 06:42:28 pm X-CH: x-ch X-Mailer: ELM [version 2.4 PL25-execpc] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Edwin Groothuis said... > > On Fri, Jan 26, 2001 at 11:34:53AM -0600, Doug Poland wrote: > > I have a question about managing ports and packages. When I > > install a port, I can also see it when I run pkg_info. So, > > is it a port, or is it a package? > > A package is a pre-compiled port, and a port is registered into > the package system :-) > okay... > > > If I want to remove it, would I do a "pkg_delete" or > > "make deinstall"? > > That depends. If you have cvsup-t the ports-tree you often see that > the version in the ports-tree is not the one you have installed. > In that case you can only remove it with pkg_delete. If it is still > the same version you can delete it with make deinstall. > > If you look in the source of the makefiles in the ports-directory > (/usr/ports/Mk/bsd.ports.mk) and search for ^deinstall, you will > see that it does nothing more that calling pkg_delete... > I'm currently not updating ports with cvsup so I can do either. Does a pkg_delete do a "make clean" as well? Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message