Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides
https://forum.ivorde.com/

FeeBSD list installed software packages with pkg_info
https://forum.ivorde.com/feebsd-list-installed-software-packages-with-pkg-info-t861.html
Page 1 of 1

Author:  mandrei99 [ Mon Oct 17, 2011 8:22 am ]
Post subject:  FeeBSD list installed software packages with pkg_info

FeeBSD list installed packages

How to list installed software packages in FreeBSD.

Quote:
PKG_INFO(1) FreeBSD General Commands Manual PKG_INFO(1)

NAME
pkg_info -- a utility for displaying information on software packages

SYNOPSIS
pkg_info [-bcdDEfghGiIjkKLmopPqQrRsvVxX] [-e package] [-l prefix]
[-t template] -a | pkg-name ...
pkg_info [-qQ] -W filename
pkg_info [-qQ] -O origin
pkg_info

DESCRIPTION
The pkg_info command is used to dump out information for packages, either
packed up in files with the pkg_create(1) command or already installed on
the system with the pkg_add(1) command.

OPTIONS
The following command line options are supported:

pkg-name ...
The named packages are described. A package name may either be
the name of an installed package, the pathname to a package dis-
tribution file or a URL to an FTP available package. Package
version numbers can also be matched in a relational manner using
the >=, <=, > and < operators. For example,

pkg_info 'portupgrade>=20030723'

will match versions 20030723 and later of the portupgrade pack-
age.


Code:
# pkg_info
3dm-2.11.00.009_1,1 3ware RAID controller monitoring daemon and web server
GeoIP-1.4.6         Find the country that any IP address or hostname originates
GraphicsMagick-nox11-1.3.12_1 Fast image processing tools based on ImageMagick
apache-2.2.19       Version 2.2.x of Apache web server with prefork MPM.
apr-ipv6-devrandom-gdbm-db42-1.4.5.1.3.12 Apache Portability Library
arping-2.09_1       ARP level "ping" utility
atk-1.32.0          A GNOME accessibility toolkit (ATK)
autoconf-2.68       Automatically configure source code on many Un*x platforms
autoconf-wrapper-20101119 Wrapper script for GNU autoconf
automake-1.11.1     GNU Standards-compliant Makefile generator (1.11)
automake-wrapper-20101119 Wrapper script for GNU automake
base64-1.5_1        Utility to encode and decode base64 files
bash-4.1.9          The GNU Project's Bourne Again SHell


How to display information on installed package in FreeBSD:
Code:
# pkg_info bash-4.1.9
Information for bash-4.1.9:

Comment:
The GNU Project's Bourne Again SHell


Description:
This is GNU Bash.  Bash is the GNU Project's Bourne Again SHell,
a complete implementation of the POSIX.2 shell spec, but also
with interactive command line editing, job control on architectures
that support it, csh-like features such as history substitution and
brace expansion, and a slew of other features.

WWW: http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/