Sun Studio 12 Quick Installation

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. If the installer reports that any prerequisite software is missing, install the missing software by choosing Update All Prerequisites.

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

  6. Select Skip advanced options.

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

  8. Follow the installer instructions to complete the installation.

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