Log in to the installed or updated system and become superuser:
# su |
Remove one or more packages from the system:
# /usr/sbin/pkgrm pkgid |
Where pkgid is the name of the software package you want to remove from the installed system. For example, SUNWaudio.
At each prompt, type y, n, or q to specify that you want to remove the package, not remove the package, or quit.
When you're done, use the pkgchk(1M) command to verify that the package was removed correctly:
# /usr/sbin/pkgchk -v pkgid |
If the package was not removed correctly, pkgchk returns a warning message.
The following example shows how to use pkgrm to remove the SUNWaudio package from a system.
# /usr/sbin/pkgrm SUNWaudio The following package is currently installed: SUNWaudio Audio applications (SPARC) 3.6.20,REV=1.2000.11.7 Do you want to remove this package? y . . . Removal of <SUNWaudio> was successful. # pkgchk -v SUNWaudio WARNING: no pathnames were associated with <SUNWaudio> # |