From owner-freebsd-questions Wed Jun 26 21: 1:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail5.nc.rr.com (fe5.southeast.rr.com [24.93.67.52]) by hub.freebsd.org (Postfix) with ESMTP id 500B037B40C for ; Wed, 26 Jun 2002 20:56:37 -0700 (PDT) Received: from i8k.babbleon.org ([66.57.86.84]) by mail5.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Wed, 26 Jun 2002 23:55:56 -0400 Received: by i8k.babbleon.org (Postfix, from userid 111) id 79DBFBA05; Wed, 26 Jun 2002 23:55:42 -0400 (EDT) Content-Type: text/plain; charset="iso-8859-1" From: Brian T.Schellenberger To: David Kramer , freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD, Linux or Solaris Date: Wed, 26 Jun 2002 23:55:42 -0400 X-Mailer: KMail [version 1.3] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020627035542.79DBFBA05@i8k.babbleon.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wednesday 26 June 2002 10:30 am, David Kramer wrote: | On Wed, 26 Jun 2002, Paul Everlund wrote: | > On Wed, 26 Jun 2002, David Kramer wrote: | > > I have to go through the collection of ports and make sure everything I | > > need is there, but I'm sure it is. BTW, is there a way to check what | > > software is installed on your box? Is there an automated way of | > > uninstalling ports? I couldn't find this info on freebsd.org. | > | > Take a closer look at pkg_info, pkg_delete and pkg_add. You can also | | I thought ports and packages were two different things. But if packages | can me managed as explained above, and ports can be managed as explained | below, then my concerns are covered. You can even manage ports as packages; once port is installed it is installed just as a package and you can even use pkg_delete to delete the port. Also (this isn't that well-known), you can use pkg_delete 'foo*' to delete the "foo" port without having to know the version number. Be careful if 'foo' is a common prefix! pkg_info 'foo*' might be a wise first step. | | > delete an installed port by going to /usr/ports/*category*/*app*/, | > then make deinstall. | | THANK YOU!!!! This was another thread on the BLU mailing list recently. | I said that if Makefiles had a "make uninstall" to undo "make install", I | would be much more likely to use them than RPM's, as I am opposed to | management tools that track their information in databases that | require a special application to view and change, instead of text files, | which can be managed any way one wants. | | Do most ports have a "make deinstall" option? All ports do. Also make reinstall, make install, make fetch, make patch. There are a few others, and these targets are defined in a central file which a port *must* use or it's a port. You know about mark search key=topic too, right? | | ------------------------------------------------------------------- | DDDD David Kramer http://thekramers.net | DK KD | DKK D "No matter how much cats fight, | DK KD there always seem to be plenty of kittens." | DDDD - Abraham Lincoln (1809-1865) | | | To Unsubscribe: send mail to majordomo@FreeBSD.org | with "unsubscribe freebsd-questions" in the body of the message -- Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) Brian, the man from Babble-On . . . . bts@babbleon.org (personal) http://www.babbleon.org http://www.eff.org http://www.programming-freedom.org If you smell the smoke you don't need to be told what you've got to do; Yet there's a certain breed, so very in-between, they'd rather take a vote. -- DEVO -- Here To Go To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message