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

FreeBSD list files installed by a specific software package - "pkg_info -L"
https://forum.ivorde.com/freebsd-list-files-installed-by-a-specific-software-package-pkg-info-l-t862.html
Page 1 of 1

Author:  mandrei99 [ Mon Oct 17, 2011 8:26 am ]
Post subject:  FreeBSD list files installed by a specific software package - "pkg_info -L"

How to list files installed by a specific package in FreeBSD using pkg_info.

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
...
-L Show the files within each package. This is different from just
viewing the packing list, since full pathnames for everything are
generated.


Code:
# pkg_info -L bash-4.1.9
Information for bash-4.1.9:

Files:
/usr/local/man/man1/bash.1.gz
/usr/local/man/man1/bashbug.1.gz
/usr/local/bin/bash
/usr/local/bin/rbash
/usr/local/bin/bashbug
/usr/local/share/bash/alias
/usr/local/share/bash/arith
/usr/local/share/bash/arith_for
/usr/local/share/bash/bg
/usr/local/share/bash/bind
/usr/local/share/bash/break
/usr/local/share/bash/builtin
/usr/local/share/bash/caller
/usr/local/share/bash/case
/usr/local/share/bash/cd
/usr/local/share/bash/colon
/usr/local/share/bash/command
/usr/local/share/bash/compgen
/usr/local/share/bash/complete

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