To add software packages after you have installed the operating system, use the pkg commands as described in the pkg(1) man page. You can also use the pkg commands or the Package Manager tool to find the names of packages you might want to install, get more information about the packages, and install the packages.
Optionally, you can install into a new boot environment so that you can continue to use your current image if the new installation has problems.
With the pkg install command, you should use the –nv option first to see what the package installation will look like prior to actually installing the packages. After you have identified the packages you want to install and examined the output from the pkg install command with the –nv option, issue a command similar to the following example to install additional software:
# pkg install package–name
If you would rather create a new boot environment and install the package in the new boot environment, use the following command:
# pkg install --require-new-be --be-name new-BE-name package-name
If you do not have a GUI desktop and you want to install the Oracle Solaris desktop, install the solaris-desktop package.