DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Packaging your software applications

Network installation from the command line

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:

  1. List the available packages on the server.

    For example:

       pkglist -s server: all
    
    Note 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
    

  2. Enter the appropriate pkginstall command. For example, to install all the packages from the server that are in file system format under /var/spool/dist, enter:
       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
    

Next topic: Network installation from the graphical interface
Previous topic: Quick steps to network installation

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004