O'Reilly logo

Solaris™ Operating Environment Boot Camp by Dominic Butler, David Rhodes

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

Dissecting a Package

As discussed previously, packages can be in either of two possible formats. The package we installed earlier was stored on the Solaris CD in exploded (or directory) format, but we converted it into a single file on the hard disk before installing it. To examine the files and installation scripts within a package, it needs to be in the exploded form. Packages can be freely transferred between these two formats (using pkgtrans). The pkgadd command can install exploded packages in much the same way as we have seen it install the single-file versions.

To create an exploded package from a single file, we use the pkgtrans as follows:

 hydrogen# cd /export/packages hydrogen# pkgtrans sar.pkg /export/pkgdir The following packages ...

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