pkgadd missing on Solaris 11

Hi,

This is not a question thread, but rather a solution to an issue I have encountered on Solaris 11.

It turns out that pkgadd is not available by default on Solaris 11. The solution is to install it with:

pkg install SUNWpkgcmds

I hope this will save people some time.

Cheers,

JVerstry

Thank you very much for this post. This would really help all.

Given the fact there is no released product named "Solaris 11", what is the SunOS 5.11 based distribution you are using that is missing pkgadd ?
Both Solaris Express and current OpenSolaris are installing pkgadd by default.

I did not perform the installation myself, but I am not the only one who has encountered this issue (OpenSolaris Forums : pkgadd in non-global, ipkg-brand zone ...). Your information seems to contradict what is mentioned about OpenSolaris. I don't know who is right.

Both statements are right. You just failed to mention you were specifically talking about ipkg zones, not the main Solaris installation (global zone). These ipkg zones are by design very thin and indeed do not include the pkgadd or a thousand or so other commands.