Finding a Package

Useful command to find which package provides a particular file on Solaris:

# pkgchk -l -p /usr/sbin/fuser
Pathname: /usr/sbin/fuser
Type: regular file
Expected mode: 0555
Expected owner: root
Expected group: bin
Expected file size (bytes): 7944
Expected sum(1) of contents: 558
Expected last modification: Apr 06 15:48:18 2002
Referenced by the following packages:
SUNWcsu
Current status: installed

Leave a comment

Please be polite and on topic. Your e-mail will never be published.