Network & Academic Computing Services
![]()
Departamental Computing Support
Installing Solaris Patches
It is a good idea to create a location to keep patches.
The directory patch_dir will be used here for example purposes.
The directory can be called anything you like.
Get the appropriate patch number(s) from a known security source.
Patches can be obtained by ftp or download from the sunsolve site.
In the following commands replace:
patch_dir with the patch directory name
patch_number with the actual patch number
%cd patch_dir
FTP patches:
%ftp -i sunsolve.sun.com
login as an anonymous user
ftp>cd pub/patches
ftp>mget patch_number.*
ftp>quit
Download patches:
SunSolve - patches, patch clusters and patch reports
Enter patch_number in the patch finder field.
Select patch_dir as the location to download patch to.
Install Solaris 7, 8, 9 patches:
%cd patch_dir
%unzip patch_number.zip
%rm patch_number.zip
Check the patch_dir/patch_number/README.patch_number file for
any special installation instructions. Any required patches
will also be listed in this file.
%patchadd patch_number
Verify patch installation:
%patchadd -p
Reboot the machine after patch installation.
Install Solaris 2.6, 2.5.1, 2.5 & 2.4 patches:
%cd patch_dir
%gtar xvzfp patch_number.tar.Z
if gtar is not available use this command instead:
%uncompress < patch_number.tar.Z | tar xvfp -
%rm patch_number.tar
%cd patch_number
Check the patch_dir/patch_number/README.patch_number file for
any special installation instructions. Any required patches
will also be listed in this file.
%./installpatch patch_number
Reboot the machine after patch installation.