gunzip <binary-distribution>for binary distributions compressed with GNU gzip (ending in .gz) or:
uncompress <binary-distribution>for binary distributions compressed with UNIX compress (ending in .Z).
WARNING: swinstall cannot, rather amazingly, handle compressed or gzipped depot files. You must uncompress or gunzip them first.
You now have the choice of the fast non-interactive method or the slower interactive one when installing the package. Both require you to run swinstall as root and the packages typically install into an /opt/<package> tree. If you wish to install as a non-root user (or install somewhere completely different), then you will have to take the source code and build/install from that instead.
swinstall -s /tmp/gzip-1.2.4-sd-10.10.depot gzipNote that you must give the full path name as the parameter to the -s option and HP-UX 10.X packages have <package> as their fileset name.
When you enter swinstall you will be prompted for the Source Depot Path (don't change the other fields) - tab to this input field.
You should then supply the full path name to the uncompressed depot package (e.g. /tmp/gzip-1.2.4-sd-10.10.depot for gzip) in that field. Select OK (tab to it and press RETURN) to confirm this.
You now need to highlight the gzip entry (press RETURN twice) and then mark it "Yes" (typically the letter "m" on the keyboard does this for you or Alt-A-M in the graphical interface).
Now press the Tab key to activate the menu bar and choose the Actions menu using the arrow keys and RETURN.
Select the Install (analysis) menu option on the Actions menu with the arrow keys and RETURN.
The OK button should light up when the analysis is complete, so tab to that button and select it with RETURN.
Confirm that you want to proceed (RETURN on the OK button) and the installation should now taken place.
Tab to the Done button and press RETURN, then finally tab to the Menu bar, select the File menu and press "e" to Exit.
swremove gzipAt least that was easy ! You can be a sucker for punishment and run swremove with no parameters and go into an interactive session, but I really would advise against it...