To uninstall the entire Oracle Developer Studio 12.6 software on an Oracle Solaris 11 platform, type:
% sudo pkg uninstall 'developer/developerstudio-126*'
To uninstall individual components, type the following where package-name is one of the packages listed in Table 7:.
% sudo pkg uninstall 'developer/developerstudio-126/package-name'
Note that some packages cannot be uninstalled by themselves because other packages have dependencies on them.