Information Technology Reference
In-Depth Information
pkgchk —Used to check the proper installation of a package
pkgrm —Used to remove a package
Installing a Package Using the pkgadd Command
The pkgadd command can install a package from disk or CD-ROM.
Typically, software obtained through the network or from magnetic tape or
disk is copied into a spool directory on the system before installation. The
default package spool directory is /var/spool/pkg , but any location with
adequate free space can be used.
To install one or more packages located in the default spool directory using
the pkgadd command, you specify the package names as command-line argu-
ments. For example, to install the SUNWzipS package, use the following
command:
# pkgadd SUNWzipS
Processing package instance <SUNWzipS> from </var/spool/pkg>
Source for the Info-Zip (zip) compression utility
(sparc) 11.9.0,REV=2001.10.18.00.44
.
.
.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
3 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWzipS> [y,n,?] y
Installing Source for the Info-Zip (zip) compression utility as <SUNWzipS>
## Installing part 1 of 1.
4939 blocks
Installation of <SUNWzipS> was successful.
#
If a package was spooled onto the system into a different directory, the alter-
nate spool directory is specified using the -d command-line argument. For
example, if the /tmp directory was used to spool the SUNWzipS package
onto the system, you use the following command to install the package:
pkgadd -d /tmp SUNWzipS
Search WWH ::




Custom Search