Sun Studio 12 Quick Installation

ProcedureUsing the Batch Installer

  1. If you are not currently superuser (root), become superuser by typing:


    su
    Password: root-password
    
  2. In the directory that contains the batch_installer command, run the command to view the software license agreement:


    ./batch_installer --show-sla
    
  3. Do one of the following:

    • Run the system preparation tool once to check your system for the prerequisite software and again, if necessary, to install any missing software. Then run the batch installer to accept the software license agreement, install the Sun Studio 12 software, and copy the system prerequisite software to the server.


      ./prepare_system -C 
      ./prepare_system -s missing_software_name,missing_software_name,...
      ./batch_installer --accept-sla --copy-prerequisites
      

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

    • Run the batch installer to check for the required prerequisite software and install any missing software, accept the software license agreement, install the Sun Studio 12 software.


      ./batch_installer -p all --accept-sla --copy-prerequisites
      

      To install the Sun Studio 12 software in a directory other than /opt, specify the installation directory with the -d 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. On each client system, 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.


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