There are several options for managing patches:
Patches Tool – Use this Solaris Management Console tool to manage patches.
patchadd – Use to install Solaris patches from the command line.
patchrm – Use to remove patches that are installed on a Solaris system. This command restores the file system to its state before a patch was applied.
Detailed information about how to install and back out a patch is provided in patchadd(1M) and patchrm(1M). Each patch also contains a README file that contains specific information about the patch.
Before installing patches, you might want to know more about patches that have previously been installed. The following table describes commands that provide useful information about patches that are already installed on a system.
Table 24–1 Commands for Solaris Patch Management
Command |
Description |
---|---|
patchadd -p, showrev -p |
Shows all patches that have applied to a system. |
pkgparam pkgid PATCHLIST |
Shows all patches that have been applied to the package identified by pkgid, the name of the package. For example, SUNWadmap. |
patchadd -S Solaris-OS -p |
Shows all the /usr patches installed on an OS server. |