Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Sun Jan 29, 2023 1:35 am


Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
Font size:
 
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation code
Confirmation code:
In an effort to prevent automatic submissions, we require that you enter both of the words displayed into the text field underneath.
     

Topic review - FeeBSD list installed software packages with pkg_info
Author Message
Post subject: FeeBSD list installed software packages with pkg_info  |  Post Posted: Mon Oct 17, 2011 8:22 am
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
Jump to:  
cronNews News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO