# pkg uninstall pkg-fmri
If you want to uninstall more than one package, use the following syntax.
# pkg uninstall pkg-fmri pkg-fmri
The pkg uninstall command will fail if there are other installed packages that depend on the pkg-fmri you are uninstalling. To uninstall the pkg-fmri, you must supply the pkg uninstall command with all the pkg-fmri dependents. For additional information on uninstalling packages, see Adding and Updating Software in Oracle Solaris 11.2 and the pkg (1) man page.