Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2007 13:54:41 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Brett Davidson <brett@net24.co.nz>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Is there a way to compare what is in the ports tree with what is installed?
Message-ID:  <20071105115441.GB2093@kobe.laptop>
In-Reply-To: <472E77AC.9060200@net24.co.nz>
References:  <472E77AC.9060200@net24.co.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2007-11-05 14:53, Brett Davidson <brett@net24.co.nz> wrote:
> ie. If I had a particular version of the ports tree on a server, how
> could I check to see if any of the programs in that tree were actually
> installed?
>
> Is there a simple command or sequence of commands to do this?

Try running the pkg_version(1) utility.  For instance, running it here,
I can see output like this:

        ksh$ pkg_version | grep -v '=$'
        ORBit2                              <
        aalib                               <
        [...]




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