Managing Packages

When you install Solaris, a few default packages are installed, depending on the configuration cluster that you choose for installation. After Solaris installation, you can install, maintain, and remove other packages in two ways: from the command line and using Admintool. You can also spool a package from the CD-ROM onto the local hard disk and install it later. If you are a hard-core CLI user, you will probably be more comfortable operating from the command line.

Solaris stores the information on all the installed packages in the /var/sadm/install/contents file. Listing 4.1 shows a sample /var/sadm/install/contents file.

Listing 4.1. A Sample /var/sadm/install/contents File
 /dev d none 0755 root sys SUNWcsr SUNWcsd /dev/allkmem=../devices/pseudo/mm@0:allkmem ...

Get Special Edition Using® 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.