Sun Studio 12 Quick Installation (English, Japanese, Simplified Chinese)

ProcedureUsing the Batch Installer

  1. In the global zone, if you are not currently superuser (root), become superuser by typing:


    su
    Password: root-password
    
  2. To install in all zones:

    1. Run the system preparation tool to install the prerequisite operating system patches:


      ./prepare_system -s patches
      
    2. In the directory that contains the batch_installer command, run the command to view the software license agreement:


      ./batch_installer --show-sla
      
    3. Run the batch_installer command to accept the software license agreement, install the Sun Studio 12 software, and copy the prerequisite software to the server.


      ./batch_installer --accept-sla --zone=all --copy-prerequisites
      

      To install the Sun Studio 12 software in a directory other than /opt, specify the installation directory with the -d option.

      The available recommended product patches are installed by default. If you do not want to install these patches, specify the --no-prodpatch option.

  3. To install in the global zone only or in a local zone:

    1. In the global zone, run the system preparation tool to install the prerequisite operating system patches:


      ./prepare_system -s patches
      
    2. In the zone where you want to install the Sun Studio 12 software, run the batch_installer command to view the software license agreement:


      ./batch_installer --show-sla
      
    3. In the same zone, run the batch_installer command to accept the software license agreement, install the Sun Studio 12 software, and copy the prerequisite software to the server.


      ./batch_installer --accept-sla --zone=this --copy-prerequisites
      

      To install the Sun Studio 12 software in a directory other than /opt, specify the installation directory with the -d option.

      The available recommended product patches are installed by default. If you do not want to install these patches, specify the --no-prodpatch option.

  4. On each client system, set the PATH and MANPATH to access the Sun Studio 12 software and man pages on the server (see Setting Up Access to the Developer Tools and Man Pages).

  5. On each client system, mount the directory on the server in which you installed the Sun Studio 12 software.


    mount server:filesystem installation_directory
    
  6. Run the system preparation tool on the server to check the client system for the prerequisite software and again, if necessary, to install any missing software. If the client system has NetBeans C/C++ Development Pack 5.5.1 installed, netbeans is reported as missing. Specify netbeans with the prepare_system -s command to upgrade to the required NetBeans C/C++ Development Pack 5.5.1 update 1.


    prepare_system -C
    prepare_system -s missing_software_name,missing_software_name,...