HP-UX HB v13.00 Ch-05 - SD-UX

HP-UX Handbook Rev 13.00 Page 11 (of 49)
Chapter 05 Software Distributor (SD-UX)
October 29, 2013
swinstall Command
The swinstall command is used to load software from a source depot and onto a target system.
Because many patches aren’t designed for individual installation, the automatic matching
options(autoselect_patches, patch_match_target) should be the preferred method
for installing patches.
swinstall has numerous options that you should not use for patching because they lack
dependency support. HP recommends that you use only the options discussed below.
Synopsis
swinstall [-i] [-p] [-v] [-s source] [-x option=value]...
[s/w_selections]
-i
Use an interactive user interface. If the environment variable DISPLAY is set to a
valid X windows display, a graphical user interface is invoked. Otherwise a
terminal user interface (TUI) designed for use on ASCII terminals is invoked. The
GUI starts by default if you enter swinstall without any s/w_selections.
-p
Previews the install operation without performing the actual installation. Preview
mode is not enabled by default.
-v
Requests verbose mode. This option affects only standard output and not the log
files.
-s source
Specifies the depot (source) containing the software to be installed.
-x option=value
Sets the specified command option to the value given, overriding any other values
for that option. Patch related command options are specified below.
s/w_selections
One or more software specifications.
The following options have the most relevance to patching. Where appropriate, default values
are shown. For the full set of available options, consult the swinstall(1m) man pages or the
Software Distributor Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (Sept 2011)”.
swinstall Command Options and Default Values
max_targets=25
mount_all_filesystems=true
os_name
os_release
patch_filter=software_specification
patch_match_target=false
patch_save_files=true
polling_interval=2
preview=false