Reinstalling a package on Solaris 11

gccinstallationpackage-managementreinstallsolaris

I installed gcc 4 on Solaris 11 using

pkg-get gcc4g++

near the end of the installation process it showed a warning that some script didn't run succesfully (which I didn't write down unfortunately). Now some include files are missing (eg. math_iso.h).

I would like to try to re-install the package, but I haven't found a command to do that.

Best Answer

I don't have Solaris 11 to try it out, but "pkgrm" is the Solaris 10 way to do it.