|
|
The pkginstall(1M) command is used from the command line on a target system to install software from a UnixWare 7 network install server (the other installation command, pkgadd(1M), is used to install software from local media such as a CD or disk drive).
The simplest way for users to use the pkginstall command is to:
For example:
pkglist -s server: allNote the required trailing colon (:) on the server name.
For example, if you set up an install server on your local machine following the instructions under ``Quick steps to network installation'', you can list all the packages available for installation under /var/spool/dist that are in file system format using this command:
pkglist -s 0.0.0.0: all
If the package is in a datastream format file on the server, you'll need to know the name of the file to list the packages contained in it (more than one package can be in a single datastream file). For example, to list all the packages on a server in a datastream format file named package.ds, enter:
pkglist -s server:/var/spool/dist/package.ds all
pkginstall -s server all
To install a single file system format package, enter:
pkginstall -s server pkgname
To install all the packages in a single datastream format file, enter:
pkginstall -s server:/var/spool/dist/filename all
To install a one package in a single datastream format file, enter:
pkginstall -s server:/var/spool/dist/filename pkgname