Package installation and update are affected by image configuration such as constraining some packages to a particular version, configuring publisher search order, and setting package signing properties. Image configuration is discussed in Chapter 5, Configuring Installed Images.
How to determine which packages are already installed, which packages are available to install, and which packages have updates available is covered in Chapter 2, Getting Information About Software Packages.
This chapter shows how to perform the following tasks:
Run a trial installation to see whether the installation would succeed and what would be installed
Install, update, and uninstall packages
Fix problems with installed packages
Restore an installed file to its original content
Working with Non-Global Zones discusses aspects of package operations that are unique to Oracle Solaris Zones.
Installing, updating, and uninstalling packages require increased privileges. See Installation Privileges for more information.
For a complete list of all options for commands discussed in this chapter, see the pkg(1) man page.