Software Distributor Administration Guide for HP-UX 11i

Installing Software
Installation with swinstall
Chapter 276
For More
Information
See Appendix A, “Command Options,” on page 421 for more information
about setting options and a complete listing and description of each
option.
Installation Tasks and Examples
This section provides examples of commands for installing software
products. Note that The \* is an optional shorthand wildcard meaning
“all products and filesets or all available software.
To start an install session via the command line, you must assemble any
options (if needed), host and source names, and software selections into a
command string. For example:
swinstall -p -s softsource -f softlist \
@ myhost:/mydirectory
The @
myhost
:/
mydirectory
is optional if you are installing to your local
host and default directory (root).
NOTE If you do not specify a source, swinstall uses the local host’s default depot
directory, /var/spool/sw.
To install a pre-determined list of software products in the file
mysoft
that are physically on a CD-ROM (mounted locally at
/mnt/cd) to the default directory (/) on the local host:
swinstall -f mysoft -s /mnt/cd
To select all software in the default depot (/var/spool/sw) located
on a host named
server
to the default directory on host
myhost
and
preview the process (-p) without actually installing:
swinstall -p -s server \* @ myhost
A depot location (:/
depot
) is not specified because it is assumed that
the software is located in the default /var/spool/sw on
server
and
will be installed at / on
myhost
. The -p analysis option is explained
under “Changing Command Options” on page 87.
To select all products named C and Pascal from the default depot on
the host named
sw_server
and start an interactive GUI session (-i):
swinstall -i -s sw_server C Pascal