pkg question ....
Roland Smith
rsmith at xs4all.nl
Tue Aug 5 13:19:16 UTC 2014
On Tue, Aug 05, 2014 at 07:48:55AM -0500, William A. Mahaffey III wrote:
>
>
> .... is there a way to get pkg to list all available packages for
> installation ? 'yum -y list available' works nicely under RH linux
> distros ....
pkg rquery -a '%n-%v'
Assuming you have the FreeBSD repo set up in /usr/local/etc/pkg/repos/FreeBSD.conf:
FreeBSD: {
url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
mirror_type: "srv",
enabled: yes
}
> Also, I type in 'pkg info' & all I get back is 'pkg-1.3.3
> Package manager' .... I expected a list of all packages installed so far
> (just the base install for me at the moment) ....
The base install doesn't exist in packages. Packages are only for ports.
So it shows exactly what it should.
Roland
--
R.F.Smith http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 5753 3324 1661 B0FE 8D93 FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20140805/b014b12c/attachment.sig>
More information about the freebsd-questions
mailing list