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.

Note

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:

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

Get Inside Solaris™ 9 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.