From owner-freebsd-questions Fri Jan 26 12:40:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from xena.gsicomp.on.ca (cr677933-a.ktchnr1.on.wave.home.com [24.43.230.149]) by hub.freebsd.org (Postfix) with ESMTP id 73E9337B698 for ; Fri, 26 Jan 2001 12:39:56 -0800 (PST) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.9.3/8.9.3) with SMTP id PAA03987; Fri, 26 Jan 2001 15:39:21 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <006d01c087d8$dc051460$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: , References: <200101261734.LAA12716@earth.execpc.com> Subject: Re: Ports and packages Date: Fri, 26 Jan 2001 15:45:03 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi, > > 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? All ports, once installed, are considered installed packages. (Instead of doing a 'make install' from a port, try a 'make package' and then a 'pkg_add'. The end result is the same.) > If I want to remove it, would I do a "pkg_delete" or > "make deinstall"? Usually 'pkg_delete' is the best way to do it, since its actions are based on the plist created when you installed the port. The hazard with doing a 'make desintall' is that if your ports tree has been updated, then it may do something applicable to a newer version of the port, which you don't have installed and sometimes version checking doesn't always catch. -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message