What files are installed by this Solaris package?
pkginfo command is useful in Solaris to give a detailed listing of a package, the number of files installed, directories, etc. One thing lacking is that it does not provide a list of the files installed. For example:
# pkginfo -l SUNWapchr PKGINST: SUNWapchr NAME: Apache Web Server (root) CATEGORY: system ARCH: sparc VERSION: 11.8.0,REV=2000.01.08.18.12 BASEDIR: / VENDOR: Sun Microsystems, Inc. DESC: The Apache HTTP server program (root components) PSTAMP: on28-patch20010802135728 INSTDATE: Oct 26 2001 18:17 HOTLINE: Please contact your local service provider STATUS: completely installed FILES: 166 installed pathnames 8 shared pathnames 5 linked files 17 directories 3 executables 407 blocks used (approx)
In the above example,
pkginfo informs is that 166 files installed in 17 different directories. But what I really wantto see are the actual files/directories installed.
For this, we need to use the
pkgchk command to list the contents of the package. For example:
# pkgchk -l SUNWapchr Pathname: /etc Type: directory Pathname: /etc/apache Type: directory Pathname: /etc/apache/README.Solaris Type: regular file Pathname: /etc/apache/httpd.conf-example Type: regular file Pathname: /etc/apache/ssl.crl Type: directory Pathname: /etc/apache/ssl.crl/Makefile Type: regular file Pathname: /etc/apache/ssl.crl/README.CRL Type: regular file [...]