Installing the Sun Studio 12 Software
This chapter includes information about the following:
Installing on a Single-User System
Installing on a Server for Use by Clients
Installing on a Solaris 10 OS System With Zones
Using the Batch Installer
Using the Graphical User Interface Installer
Using the Command-Line Installer
Installing on a Single-User System
You can install the Sun Studio 12 software and the required additional software on a single-user system.
The simplest way to install the software on a single-user system is to use the batch installer. However, the batch installer installs all components of the Sun Studio 12 software. If you want to choose which components of the software to install, you must use the graphical user interface installer or command-line installer.
Using the Batch Installer
If you are not currently superuser (root), become superuser by typing:
su Password: root-password
Run the batch_installer command to view the software license agreement:
./batch_installer --show-sla
Do one of the following:
Run the system preparation tool once to check your system for the required prerequisite software and again, if necessary, to install any missing software. Then run the batch installer to accept the software license agreement and install the Sun Studio 12 software. To install the Sun Studio 12 software in a directory other than /opt, specify the installation directory with the -d option.
./prepare_system -C ./prepare_system -s missing_software_name missing_software_name ... ./batch_installer --accept-sla
To set up your access to the Sun Studio 12 software tools and man pages, set your PATH and MANPATH variables by following the steps in Setting Up Access to the Developer Tools and Man Pages.
Run the batch installer to check for the required prerequisite software and install any missing software, accept the software license agreement, and install the Sun Studio 12 software. To install the Sun Studio 12 software in a directory other than /opt, specify the installation directory with the -d option.
./batch_installer -p all --accept_sla
To set up your access to the Sun Studio 12 software tools and man pages, set your PATH and MANPATH variables by following the steps in Setting Up Access to the Developer Tools and Man Pages.
Using the Graphical User Interface Installer
If you are not currently superuser (root), become superuser by typing:
su Password: root-password
In the download directory, start the installer by typing:
./installer
On the Software License Agreement page, click Accept.
On the Select Type of Installation page, choose Typical.
On the System Analysis page, install any missing prerequisite software by clicking its button. To install the Sun Studio 12 software in a directory other than /opt, specify the installation directory.
On the Select Components page, click the checkbox for any component you do not want to install.
Proceed through the remaining pages to complete the installation.
To set up your access to the Sun Studio 12 software tools and man pages, set your PATH and MANPATH variables by following the steps in Setting Up Access to the Developer Tools and Man Pages.
Using the Command-Line Installer
If you are not currently superuser (root), become superuser by typing:
su Password: root-password
Currently you must run the system preparation tool from the command line to install the any missing prerequisite software before running the command-line installer. Type the following to determine which prerequisite software is missing:
./prepare_system -C
If no missing software is listed, proceed to step 3. Otherwise install the missing software by typing:
./prepare_system -s missing_software_name missing_software_name ...
In the download directory, start the installer by typing:
./installer -nodisplay
Read and accept the Software License Agreement.
Select Typical install.
Specify the installation directory.
Deselect any software component you do not want to install.
Follow the installer instructions to complete the installation.
To set up your access to the Sun Studio 12 software tools and man pages, set your PATH and MANPATH variables by following the steps in Setting Up Access to the Developer Tools and Man Pages.
Installing on a Server for Use by Clients With the Same Architecture
You can install the Sun Studio 12 software on a server for use by client systems with the same architecture. You can include the system preparation tool in the installed product to be used for installing the prerequisite software on each client system.
The simplest way to install the software on a server is to use the batch installer. However, the batch installer installs all components of the Sun Studio 12 software. If you want to choose which components of the software to install, you must use the graphical user interface installer or command-line installer.
Using the Batch Installer
If you are not currently superuser (root), become superuser by typing:
su Password: root-password
Run the batch_installer command to view the software license agreement:
./batch_installer --show-sla
Run the batch_installer command to accept the software license agreement, and install the Sun Studio 12 software on the server:
./batch_installer --accept-sla
On each client system, mount the dvd image /download_directory/platform/c_installers/dvd_image_universal on the server and run the system preparation tool to check for the prerequisite software on the client system:
./prepare_system -C
Install any listed missing software on the client system by typing:
./prepare_system -s missing_software_name missing_software_name ...
To set up your access to the Sun Studio 12 software tools and man pages on the server, set your PATH and MANPATH variables on the client system by following the steps in Setting Up Access to the Developer Tools and Man Pages.

Previous