swinstall.1m (2011 09)
s
swinstall(1M) swinstall(1M)
normal state.
• No kernel building or system reboots are performed by
swcopy.
• Both the
swinstall and swcopy commands perform various checks prior to installing or
copying the software_selections, for example disk space analysis.
Options
swinstall and swcopy support the following options:
XToolKit Options
The
swinstall and swcopy commands support a subset of the standard X
Toolkit options to control the appearance of the GUI. The supported options are:
-bg, -background, -fg
, -foreground, -display, -name, -xrm, and -syn-
chronous. See the X(1) manual page by typing
man X for a definition of these
options.
-i Runs the command in interactive mode (Graphical User Interface). See the
Interactive Operation and Remote Operation headings above for
details.
-p Previews an install task by running the session through the analysis phase only.
-r Causes swinstall to operate on alternate root directories, which must be
specified with the @ target_selections option. Configuration scripts are not run on
alternate roots. (This option is not required for alternate root operations but is
maintained for backward compatibility. See the
Alternate Root Directory
and Depot Directory heading in sd(5) for more information.)
-v Turns on verbose output to stdout. (The swinstall or swcopy logfile is not
affected by this option.) Verbose output is enabled by default; see the
verbose
option below.
-c catalog Specifies the pathname of an exported catalog which stores copies of the response
file or files created by a request script (if -x ask=true or -x
ask=as_needed). The response files are also stored in the Installed Products
Database after the installation process is complete.
-C session_file Save the current options and operands only to the session_file. You can enter a
relative or absolute path with the file name. The default directory for session files
is $HOME/.sw/sessions/
. Without this option, by default, the session file is
saved only in the default directory
$HOME/.sw/sessions/
.
You can recall a session file with the
-S option.
-f software_file
Read the list of software_selections from software_file instead of (or in addition to)
the command line.
-J jobid Executes the previously scheduled job. This is the syntax used by the daemon to
start the job.
-Q date Schedules the job for this date. You can change the date format by modifying the
/var/adm/sw/getdate.templ file.
-s source Specifies the source depot (or tape) from which software is installed or copied. (SD
can read both tar and cpio tape depots.) The default source type is directory .
The syntax is:
[host][
:][/directory]|[./relative_path]|[../relative_path]
A host may be specified by its host name, domain name, or Internet address. If host
is specified, the directory must be an absolute path. To specify a relative path when
no host is specified, the relative path must start with
./ or ../; otherwise, the
specified name is considered as a host.
-S session_file Execute swinstall or swcopy based on the options and operands saved from a
previous session, as defined in session_file. You can save session information from a
command-line session with the -C session_file option.
4 Hewlett-Packard Company − 4 − HP-UX 11i Version 3: September 2011