Log in to the installed system and become root.
$ su |
Remove one or more packages from the system using the pkgrm command.
# /usr/sbin/pkgrm pkgid |
In this command,
pkgid |
Is the name of the software package to be removed from the installed system. For example, SUNWaudio. |
Verify that the package has been removed correctly.
# /usr/sbin/pkgchk pkgid |
If the pkgchk command determines that the package is not installed, it will print a warning message.
The following example shows a command to remove the SUNWaudio package from a system. The example also shows the use of the pkgchk command to verify that the package files were removed.