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

HP-UX Handbook Rev 13.00 Page 10 (of 49)
Chapter 05 Software Distributor (SD-UX)
October 29, 2013
4. Option values in a session file affect activities only for that session and revert when that
session is completed.
5. Option values changed on the command line affect only that activity.
For system-wide policy setting, use the /var/adm/sw/defaults file. Keep in mind, however,
that individual users may override these values with their own $HOME/.sw.defaults file,
session files, or command line changes.
These values can also be overridden by specifying an options file with the -X option_file
command-line option or with one or more -x option=value options directly on the command
line. They can also be changed using the GUI Options Editor.
Altering option values and storing them in a defaults file can help when you want the SD-UX
command to behave the same way each time the command is invoked. Options in the defaults
file are read as part of command initialization. Because the daemon is already running, after
changing daemon options, the daemon must be restarted for these options to be recognized. To
restart the daemon, type:
/usr/sbin/swagentd r
SD-UX Commands
The following section discusses the most commonly used SD-UX commands:
swinstall installs and configures software products.
swcopy copies software products for subsequent installation or distribution.
swremove unconfigures and removes software products.
swlist displays information about software products.
swreg registers or unregisters depots or roots.
swmodify modifies software product information in a target root or depot.
swpackage packages software products into a depot (directory or tape).
swverify verifies available (copied), installed, or configured software products.
swconfig configure, unconfigure and reconfigure software products.
cleanup removes patch rollbacks.
show_patches displays patches.
All SD-UX commands run from the command line. swinstall, swcopy, swremove, and swlist
have an optional GUI mode.