Go to main content

Adding and Updating Software in Oracle® Solaris 11.3

Exit Print View

Updated: September 2018
Chapter 3

Installing and Updating Software Packages

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 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 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

  • Validate packages

  • Fix problems with installed packages

  • Restore an installed file to its original content

  • Uninstall packages

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.