How to install wzpkg and pkg packaged software
To use wzpkg packaged software on your system, you should first install the wzpkgadm software.
wzpkgadm software itself is a wzpkg packaged software.

All wzpkg and pkg packaged software files are self extracted, runnable files. You should run it in a writable directory, such as /tmp or /var/tmp, and that directory should have free space at least 3-times the size of the file it self.

To install wzpkg packaged software, the machine should have wzpkgadm software installed first. That software itself is a wzpkg packaged software.

When you run a wzpkg or pkg file, it will install the software it contains to the machine, and wzpkg packaged software will then verify all the files which belong to the software have content integrity, file ownership and access permissions match with the specification of the software.

Warning: Do not try to run any wzpkg formatted file under system call or library call tracer; doing so will result in unpredictable result, even cause system damage.

The wzpkgadm software has 2 tools to help you maintain all wzpkg formatted software: the wzpkgchk tool can help you to verify an installed software's integrity and the wzpkgrm tool can remove a software from the machine.

wzpkg packaged software can be installed to an alternate root directory, like Solaris 11's boot environment. To do so, you just need to set environment variable ALT_ROOT to that boot environment's root directory, and then run the package file. To check the integrity of the software in that boot environment, also use the same environment variable, and run "wzpkgchk PKGName"; and to remove the software in that environment, run "wzpkgrm PKGName".

To make sure you are doing the right thing, when the commands detect they are for alternate environment, they will show
===== ALT_ROOT=/troot =========
Press c and enter to continue:

when you see these, you will know it's not for the current boot environment, and if this is not what you want, you can just cancel it.