Tuesday, November 6, 2012

Solaris Studio 12.3 installation

The best way to install Oracle Solaris Studio is to set up a local IPS repository.
   
After the above activities are completed, the installation is very easy:

# pkg install solarisstudio-123

It's important to adjust the PATH and MANPATH environment variables.
At some point on .profile add the following lines:

PATH=$PATH:/opt/solarisstudio12.3/bin
export PATH

MANPATH=${MANPATH:-/usr/man}:/opt/solarisstudio12.3/man
export MANPATH

All this is very simple and we can start coding and compiling right away.
Nevertheless, I would highly recommend using a remote build host.