Sun Studio 12 Installation Reference Guide (English, Japanese, Simplified Chinese)

ProcedureUsing the Command-Line Installer

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


    su
    Password: root-password
    
  2. In the directory that contains the installer, start the installer by typing:


    ./installer -a client_architecture -nodisplay
    

    To install the software on a SPARC based server for use by x86 based clients, client_architecture is intel-S2. To install the software on an x86 based server for use by SPARC based clients, client_architecture is sparc-S2.

  3. Read the Software License Agreement and accept it by typing yes.

  4. Select the Chinese locale or the Japanese locale if you want to install the localized Sun Studio 12 software in either of these languages.

  5. If the installer reports that any prerequisite software is missing, install the missing software by choosing Update All Prerequisites.

  6. If you have previously installed some components of the Sun Studio 12 software, the installer will install additional components in the same directory. If you have not previously installed any components of the software, and you want to install the Sun Studio 12 software in a directory other than /opt, specify the installation directory.

  7. Select Continue to advanced options, and select Copy system prerequisites.

  8. Deselect any software component or subcomponent you do not want to install.

  9. Follow the installer instructions to complete the installation.

  10. On each client system, set the PATH and MANPATH environment variables to access the Sun Studio 12 software and man pages on the server (see Setting Up Access to the Developer Tools and Man Pages in Sun Studio 12 Quick Installation (English, Japanese, Simplified Chinese)).

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


    mount server:filesystem directory
    
  12. 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. 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