This chapter describes commands that provide the following kinds of information about packages:
Whether the package is installed or can be installed or updated
The description, size, and version of the package
Which packages are part of a group package
Which package delivers a specified file
Which package delivers a specified SMF service
Which packages are dependents of the specified package
Which packages are in a particular category
If the content of package repositories for your configured publishers might have changed, update your list of available packages at the beginning of your session to ensure that you receive the most current information. To update your list of packages execute the pkg refresh command. For example, if a repository has been updated with new packages, listing available packages might not show those new packages until you run pkg refresh.
For a complete list of all options for commands discussed in this chapter, see the pkg(1) man page.