install software from a server onto a target host
pkginstall [-v] [-N] [-n tcp] -s source package
The pkginstall command provides a software installation mechanism
within a distributed TCP/IP
This command is typically used after software is staged on a UnixWare Install
``Setting up and administering an install server'' in the UnixWare 7 System Handbook
or the manual page for
turns on verbose output mode and causes additional description of
pkginstall events to be written to the /var/sadm/dist/log
Specifies TCP/IP (default).
Specifies non-interactive mode.
interactive mode is used.
If the installation requires user interaction while running in
the installation halts.
specifies the software source for the copy.
The format for the source location is either:
host:[device] or [host]:device
is the name or Internet address (IP) of the host where the package(s) to be
the IP address of the Install Server).
When the host argument is omitted,
the local host (the system where pkginstall is invoked) is assumed.
indicates the device or directory where the software that is being copied
the device argument may be a file containing a data stream in
The full path name of the device (for example,
or file must be used.
lists the software package to be distributed,
where package is the package short package name as returned
If the source directory is a directory containing package(s),
then you must specify the package option.
If the source device is a package datastream,
then you do not need to specify the package option.
If the package option is omitted,
you are prompted for which set(s) or package(s) you want to copy from that
This feature works the same as in
which is the underlying mechanism used by pkginstall to copy software.
pkginstall messages are written to the /var/sadm/dist/log
The pkginstall command exits with one of the following values:
Bad system call
No such file or directory
No such file or directory on server
No file permissions
Bad network connection
Protocol was misused
Invalid option specified
Invalid host in location specification
Execution was interrupted by user
Invalid source specification
Invalid target specification
Data stream closed by client
Each session (on both the server and client side) generates a log which
is appended to the system-wide logfile /var/sadm/dist/log after
The session log is also mailed to root.
Install the terminf package from the myhost system
onto the local host:
pkginstall -s myhost: terminf
Install all the packages from the cartridge tape on the myhost system
onto the local host:
pkginstall -s myhost:/dev/rmt/ctape1 all
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004