Friday, May 17, 2024
HomeSolarisSolaris system administrationShow Applied Patches or Check for a Specific Patch in Solaris

Show Applied Patches or Check for a Specific Patch in Solaris

Some applications require a specific set of patches in order to function properly. To list the applied patches or to dertermine the presence of a specific patch, use the showrev command.

To list all patches applied to the system, run the following:

showrev -p

Output of this command can be piped to another application like more, which will display the output one page at a time:

showrev -p | more

To look for the existence of a specific patch, you can pipe the output to grep and search for a patch-id pattern. If you require a specific patch such as 113964-09, it is advisable to search for the base id 113964. The -09 following the base id is the version of the patch. To look for the existence and version of patch 113964, run the following:

showrev -p | grep 113964

Read through the results carefully since the output includes other patch-ids associated with the patch. Most of the time, software requires that the version of the applied patch be equal to or greater than the one specified. Refer to the documentation of the software for specific requirements.

Quinn McHenry
Quinn McHenry
Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.


Please enter your comment!
Please enter your name here

Most Popular


Recent Comments

error: Content is protected !!