Software Distributor Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (5900-2561, March 2013)
2 Installing Software
This chapter discusses how to use the swinstall, swconfig, and swverify commands to
install, configure, and verify software.
• swinstall installs software from a depot and performs automatic configuration of software.
• swconfig lets you configure, unconfigure, or reconfigure previously installed software.
• swverify lets you check that software was installed correctly and run scripts to perform
additional verification tasks or fix specific problems.
CAUTION: While installing a patch, updating or reinstalling a product, please ensure that the
product being patched, updated or reinstalled is not in use.
Table 5 Chapter Topics
Topics:
“Installation with swinstall” (page 41)
“Configuring Your Installation (swconfig)” (page 53)
“Verifying Your Installation (swverify)” (page 58)
2.1 Installation with swinstall
The swinstall command installs software from a software source (a depot or physical media)
to your local host.
2.1.1 Features and Limitations
• Optional GUI.
• Compatibility filtering to ensure the software will run on the installed system.
• Ability to perform kernel rebuilding or rebooting.
• Automatic use of dependencies to automatically select software on which to operate (in addition
to any software you specify directly).
• Ability to run control scripts as part of the installation:
Analyses each target to determine if the installation and configuration
can take place.
Checkinstall
Preinstall Performs file operations (such as removing obsolete files) before
installation of software files.
Request Requests an interactive response from the user as part of the installation
or configuration process. (Executed by swask, swconfig, and
swinstall.)
Configure Configures installed filesets or products. (See “Configuring Your
Installation (swconfig)” (page 53).)
Postinstall Performs additional install operations (such as resetting default files)
immediately after a fileset or product has been installed.
Unpostinstall Undoes a postinstall script in case swinstall must initiate recovery
during the installation process.
Unpreinstall An undo preinstall script in case SD must initiate recovery during the
install process.
2.1 Installation with swinstall 41