O'Reilly logo

Solaris™ 8 Advanced System Administrator's Guide, Third Edition by Janice Winsor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required