Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2002 23:55:42 -0400
From:      Brian T.Schellenberger <bts@babbleon.org>
To:        David Kramer <david@thekramers.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: FreeBSD, Linux or Solaris
Message-ID:  <20020627035542.79DBFBA05@i8k.babbleon.org>
In-Reply-To: <Pine.LNX.4.44.0206261024370.4765-100000@kramer.thekramers.net>
References:  <Pine.LNX.4.44.0206261024370.4765-100000@kramer.thekramers.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020627035542.79DBFBA05>