cmd:pkgadd for sun packages 

Install the package with the pkgadd utility. 

pkgadd -d foo-1.0
  • The pkgadd command must be run as root.
  • .gz files should be ungzipped first.
  • Do NOT put a ., ./, or the directory name in front of the file name in pkgadd!
  • the actual install location would depend on the package.

un-install the packages 

use pkgrm and follow the prompts.

Install to directories rather than the package default 

Use the -R option of the pkgadd command to install the Solaris packages in a non-default location

-R root_path   Define the full path name of a  directory  to
               use  as  the root_path.  All files, including
               package system information files,  are  relo-
               cated  to  a  directory  tree starting in the
               specified root_path.  The  root_path  may  be
               specified  when installing to a client from a
               server (for example, /export/root/client1).

documented on: Fri 08-13-99