This procedure is valid only for Sun software packages. For third-party software products, the surest way to determine where the package's files will be installed is to look in the package's directory in the pkgmap file.
Log in to any system.
You must be able to access the directory where the packages reside.
Determine where a Sun package's files will be installed.
$ pkgparam -d device-name pkgid SUNW_PKGTYPE |
-d device-name |
Specifies the absolute path to the software packages. device-name can be the path to a device, a directory, or a spool directory. If you do not use the -d option, the pkgparam command will return the default installation directory of the specified pkgid installed on the local system. |
pkgid |
Is the name of a software package. |
Is a special parameter that reports where a Solaris software package will be installed. If the package does not have the |
$ pkgparam -d /cdrom/cdrom0/s0/Solaris_2.7 /Product SUNWvolr SUNW_PKGTYPE root $ pkgparam -d /cdrom/cdrom0/s0/Solaris_2.7/Product SUNWvolu SUNW_PKGTYPE usr |