Installing a Solaris package in a different base directory
n Solaris, you use the pkgadd command to install new packages.
By default, the pkgadd command reads the default admin file /var/sadm/install/admin/default which specifies the base directory to be /opt.
There might be times where you want to specify a different base directory. One such example is if you have the /opt directory mapped to a network storage and only want to install the package locally.
Read More