Sun Studio 12 Quick Installation (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 -nodisplay
    
  3. Read the Software License Agreement and accept it by typing yes.

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

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

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

  7. 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.

  8. Select Skip advanced options.

  9. Follow the installer instructions to complete the installation.

  10. If you installed the Sun Studio 12 software on a single-user system, type the following to determine whether you need to set up your access to the Sun Studio 12 software tools and man pages:


    /usr/bin/version
    
    1. If you receive the message /usr/bin/version: not found or the command reports an earlier version of Sun Studio software, see Setting Up Access to the Developer Tools and Man Pages for information on setting your PATH and MANPATH to point to the Sun Studio 12 software.

    2. If the command reports Sun Studio 12 software, you do not need to set yourPATH and MANPATH.