Install a Solaris Directory-Based Package


Once a directory-based package is untarred into the directory structure (in a directory with the name of the package), it can be installed with the pkgadd command.

Given a package called SUNWtchrx whose directory is in the current working directory, use the following:

pkgadd -d . SUNWtchrx

The -d option specifies the directory (more generally, the device) that contains the package directory. Multiple packages can be installed by adding additional package names to the end of the command or by specifying a wildcard such as * or SUNW*.

 

About Quinn McHenry

Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
View more articles by Quinn McHenry

The Conversation

Follow the reactions below and share your own thoughts.