Adding Packages

Use the pkgadd command to install software packages. The default pkgadd command is interactive and can inform you of potential problems in the installation as they occur.

NOTE

You must have superuser privileges to use the pkgadd command.

The pkgadd command has the following syntax.

pkgadd -d device-name [ -a admin-file ] pkgid
					

The -d device-name option of the pkgadd command enables you to specify three different types of locations. Table 72 describe these locations and provides an example of the -d device-name option for each location.

Table 72. Examples of -d Option Locations
Location Example of Command Syntax
Packages stored ...

Get Solaris™ 8 Advanced System Administrator's Guide, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.