Solaris > Patch Management

What is patch?
1)Patch is nothing but updated or enhanced version of installed software (binary file or library collection) which update the software, in order to increase the:
a. Stability
b. Performance
c. Bug fix
d. New features into system.

2) Visit the site SunSolve to download or to find out the patch reports.

3) Each patch has unique patch number followed by revision number for e.g. 111112-03

To Displays a list of the patches currently applied:
1) Use the command patchadd –p as follows:
# patchadd –p
OR
# showrev -p

How to add or install patch to system?
1) Download the patch from suns web site.

2) Unzip the patch by running command:
#unzip 111307-04.zip

3 Apply the patch as follows:
# patchadd 111307-04

Checking installed patches…
Verifying sufficient filesystem capacity (dry run method)…
Installing patch packages…

Patch number 111307-04 has been successfully installed.
See /var/sadm/patch/111307-04/log for details

4) Reboot the system

To remove the patch:
1) Simply run command patchrm
# patchrm 111112-03

How to install the patch without backing up current file (use with caution)?
1) Use –d switch to patchadd command
# patchadd –d 111112-03


🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 2 comments so far... add one


CategoryList of Unix and Linux commands
Disk space analyzersdf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
2 comments… add one
  • Unknown Dec 19, 2005 @ 19:29

    Now try using the patch-managing software sun provides using nothing but a CLI !

  • sreehari Nov 15, 2011 @ 9:35

    What is the difference between showrev command and patchadd –p command?

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum