Sun Studio 12 Update 1 Installation Guide

ProcedureUsing the Non-GUI 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, print the license agreement.

    1. If you are using the multi-language installer, type:


      ./SunStudio12u1-OS-platform-packages.sh --print-license
      
    2. If you are using the English-only installer, do one of the following:

      If you are using the Bourne shell or Korn shell, type:


      ./SunStudio12u1-OS-platform-packages.sh --print-license 2>&1 | more
      

      If you are using the C shell, type:


      ./SunStudio12u1-OS-platform-packages.sh --print-license |& more
      

    The installer displays startup messages and then prints the license agreement. Review the license agreement.

  3. Accept the terms of the license agreement and start the installer by typing:


    ./SunStudio12u1-OS-platform-packages.sh --non-interactive-accept-license
    
  4. The installer runs silently and returns your prompt when installation is complete. It writes a log file in the /root/.nbi/logs directory.

  5. If the Sun Studio 12 Update 1 is going to be used from client systems, then on each client system, set the PATH and MANPATH to access the Sun Studio 12 Update 1 software and man pages on the server (see Setting Up Access to the Developer Tools and Man Pages).

  6. If you installed the Sun Studio 12 Update 1 software on a single-user system, type the following to determine whether you need to set up your access to the Sun Studio 12 Update 1 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 Update 1 software.

    2. If the command reports Sun Studio 12 Update 1 software, you do not need to set your PATH and MANPATH.