From owner-freebsd-questions Fri Jan 26 9:42:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from d9168.upc-d.chello.nl (d9168.upc-d.chello.nl [213.46.9.168]) by hub.freebsd.org (Postfix) with ESMTP id 4A25637B400 for ; Fri, 26 Jan 2001 09:42:32 -0800 (PST) Received: by d9168.upc-d.chello.nl (Postfix, from userid 1001) id DF1C03B7; Fri, 26 Jan 2001 18:42:28 +0100 (CET) Date: Fri, 26 Jan 2001 18:42:28 +0100 From: Edwin Groothuis To: doug.poland@omniresources.com Cc: freebsd-questions@freebsd.org Subject: Re: Ports and packages Message-ID: <20010126184228.A62745@d9168.upc-d.chello.nl> Mail-Followup-To: Edwin Groothuis , doug.poland@omniresources.com, freebsd-questions@freebsd.org References: <200101261734.LAA12716@earth.execpc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200101261734.LAA12716@earth.execpc.com>; from dpoland@execpc.com on Fri, Jan 26, 2001 at 11:34:53AM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 :-) > 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... Edwin -- Edwin Groothuis | Interested in MUDs? Visit Fatal Dimensions: mavetju@chello.nl | http://fataldimensions.nl.eu.org/ ------------------+ telnet://fataldimensions.nl.eu.org:4000 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message