Using a Spool Directory

For convenience, you can copy frequently installed packages to a spool directory. If you copy packages to the default spool directory, /var/spool/pkg, you do not need to specify the source location of the package when using the pkgadd command. The pkgadd command, by default, will look in the /var/spool/pkg directory for any packages specified on the command line.


Copying packages to a spool directory is not the same as installing the packages on a system.

Exercise 12.1 Adding a Package to the Spool Directory

To add a package to the spool directory named /var/spool/pkg, follow these steps:

Log in as root.
Make sure the spool directory exists.
Add a software package to a spool directory using ...

Get Inside Solaris™ 9 now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.