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