JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Studio 12.2 Installation Guide
search filter icon
search icon

Document Information

Preface

1.  Preparing for Installation

2.  Installing the Oracle Solaris Studio 12.2 Software

Installing the Oracle Solaris Studio Software

Installing in a Zone

Installing in an Alternate Root Directory

Installing on Multiple Systems

Installing Oracle Solaris Studio With the Graphical User Interface Installer

Using the Graphical User Interface Installer

Installing the Runtime Libraries Only With the GUI Installer

Using the Graphical User Interface Installer

Installing Oracle Solaris Studio With the Non-GUI Installer

Using the Non-GUI Installer

Installing the Runtime Libraries Only With the Non-GUI Installer

Using the Non-GUI Installer

Installing the Required Oracle Solaris OS Patches

Setting Up Access to the Developer Tools and Man Pages

Starting the Oracle Solaris Studio 12.2 IDE

3.  Uninstalling the Oracle Solaris Studio 12.2 Software

4.  Troubleshooting

A.  Command-Line Options for the Installer,Uninstaller,and install_patches Utility

B.  Adding Swap Space

C.  Oracle Solaris 12.2 Components and Packages

D.  Patch Identification Numbers and Descriptions

E.  Version Numbers of the Oracle Solaris Studio 12.2 Components

Index

Installing the Oracle Solaris Studio Software

You can install the Oracle Solaris Studio 12.2 software and the required OS patches on a single-user system. Or you can install the software and OS patches on a server for use by client systems with the same architecture, and then install the OS patches on each client system that will access the Oracle Solaris Studio software on the server.


Tip - Installation from a network location can take a significant amount of time, so if possible, make a copy of the installation bundle on each system where you plan to install the software, and run the installer locally.


Installing in a Zone

To install the software in a zone on a Solaris 10 system, run the installer in that zone. If you are installing in the global zone and want the software to be available in that zone only, select the Install in current zone only checkbox in the GUI installer, or specify the --current-zone-only option when starting the non-GUI installer.

Installing in an Alternate Root Directory

To install the software using an alternate root directory, use the non-GUI installer with the --use-alternative-root directory option.

Installing on Multiple Systems

To install the software on multiple systems, you can use the --record state_file.xml option when starting the GUI installer to record an installation that you can repeat using the --state state_file.xml option with the non-GUI installer.

Installing Oracle Solaris Studio With the Graphical User Interface Installer

The graphical user interface (GUI) installer lets you choose the installation directory and select which components of the Oracle Solaris Studio 12.2 software you want to install. For a complete list of the valid command-line options when starting the GUI installer, see Command-Line Options for the GUI Installer.

The GUI installer requires the Java 2 Software Development Kit (JDK) 5, Update 3.

Using the Graphical User Interface 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:
    ./SolarisStudio12.2-OS-platform-pkg-ML.sh
  3. The System Analysis page tells you:
    • If your system is missing any of the required OS patches.

      If you need to install these patches, you can do so by:

      • Clicking More Info and then clicking Execute install_patches.sh now.

      • Running the install_patches.sh utility from the command line after you have installed Oracle Solaris Studio.

      For a complete list of the valid command-line options when starting the install_patches.sh utility, see Command-Line Options for the install_patches.sh Utility

      The required OS patches must also be installed with the install_patches.sh utility on client systems that will use the Oracle Solaris Studio 12.2 software on a server. For more information, see Installing the Required Oracle Solaris OS Patches.

    • If your system does not have JDK 6, Update 13, which is required for running the IDE, dbxtool, DLight, and the Performance Analyzer. If you plan to use these tools, you can download the required JDK from http://www.oracle.com/technetwork/java/javase/downloads/index.html.

  4. The Oracle Solaris Studio Installer page gives you the option of selecting which components of the Oracle Solaris Studio software to install:
    1. Click Next if you want to install all components of the software.
    2. Click Customize if you want to select which components of the software to install. The Customize Installation dialog box lists the components and indicates which, if any, components are already installed. Click the checkbox for any component you do not want to install to remove the checkmark. Click OK, then click Next.

    Note - To install only the runtime libraries, you must have specified the --libraries-only option when you started the installer (see Installing the Runtime Libraries Only With the GUI Installer.


  5. On the Oracle Solaris Studio Installation page:
    1. Specify a different installation directory if you do not want to install the software in the default installation directory /opt. If you already have some components of Oracle Solaris Studio 12.2 software installed, the installer will install additional components only in the same directory.
    2. By default, the installer creates symbolic links in the /usr/bin directory and the /usr/share/man directory to the Oracle Solaris Studio 12.2 software and man pages. If you already have symbolic links in /usr/bin and /usr/share/man to a previous Sun Studio release, the links to Oracle Solaris Studio 12.2 will replace them. If you do not want the symbolic links created, or you do not want links to a previous release replaced, click the Create symbolic links in /usr/bin checkbox to remove the checkmark. (If you already have the links to Oracle Solaris Studio 12.2 installed, the checkbox is not displayed.)
    3. If you are running the installer on a system that has zones, the Install Oracle Solaris Studio software to current zone only checkbox is displayed. By default, the installer installs the software to the current zone only. If you want the software installed to all zones, click the checkbox to remove the checkmark. When you run the installer in the global zone, installing in the current zone only makes the installed product visible only in the global zone.
    4. Click Next.
  6. On the Summary page, verify that the list of components to be installed is correct and that you have adequate space on your system for installation. Then click Install to start the installation.
  7. When the installation is complete, the Setup Complete page is displayed. Click Finish to exit the installer.
  8. After installation, the installer opens a web browser and asks you to use your Sun Online Account to register your copy of Oracle Solaris Studio with the Sun Inventory. Registration is not required, but it allows you to organize your products in the Sun Inventory and receive timely information from Sun. The installer also registers this copy of Oracle Solaris Studio in your local Service Tags database (if this service is available).
  9. If Oracle Solaris Studio 12.2 is going to be used from client systems, then on each client system, set the PATH and MANPATH to access the Oracle Solaris Studio 12.2 software and man pages on the server (see Setting Up Access to the Developer Tools and Man Pages).
  10. If you installed the Oracle Solaris Studio 12.2 software on a single-user system, type the following to determine whether you need to set up your access to the Oracle Solaris Studio 12.2 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 Oracle Solaris Studio 12.2 software.
    2. If the command reports Oracle Solaris Studio 12.2 software, you do not need to set yourPATH and MANPATH.

Installing the Runtime Libraries Only With the GUI Installer

You can use the GUI installer to install the Oracle Solaris Studio runtime libraries only.


Note - If you run the installer to install only the libraries, you cannot run the installer later to install additional components without first running the uninstaller to uninstall the libraries.


Using the Graphical User Interface 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:
    ./SolarisStudio12.2-OS-platform-pkg-ML.sh --libraries-only
  3. On the Oracle Solaris Studio Installer page, click Next.
  4. On the Oracle Solaris Studio Installation page, specify a different installation directory if you do not want to install the libraries in the default installation directory /opt.
  5. On the Summary page, verify that you have adequate space on your system for installation. Then click Install to start the installation.
  6. When the installation is complete, the Setup Complete page is displayed. Click Finish to exit the installer.

Installing Oracle Solaris Studio With the Non-GUI Installer

By default, the non-GUI installer installs all components of the Oracle Solaris Studio 12.2 software silently in the default installation directory. You can start the installer with the --installation-location directory option to install all components in a directory of your choice. You can start the installer with the --libraries-only to install the runtime libraries only (see Installing the Runtime Libraries Only With the Non-GUI Installer). For a complete list of the valid command-line options when starting the non-GUI installer, see Command-Line Options for the Non-GUI Installer.

Using 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, start the installer by typing:
    ./SolarisStudio12.2-OS-platform-pkg-ML.sh --non-interactive
  3. The installer runs silently and returns your prompt when installation is complete. It writes a log file in the /root/.nbi/logs directory.
  4. If the Oracle Solaris Studio 12.2 is going to be used from client systems, then on each client system, set the PATH and MANPATH to access the Oracle Solaris Studio 12.2 software and man pages on the server (see Setting Up Access to the Developer Tools and Man Pages).
  5. If you installed the Oracle Solaris Studio 12.2 software on a single-user system, type the following to determine whether you need to set up your access to the Oracle Solaris Studio 12.2 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 Oracle Solaris Studio 12.2 software.
    2. If the command reports Oracle Solaris Studio 12.2 software, you do not need to set your PATH and MANPATH.

Installing the Runtime Libraries Only With the Non-GUI Installer

You can use the non-GUI installer to install the Oracle Solaris Studio Runtime Libraries only.


Note - If you run the installer to install only the libraries, you cannot run the installer later to install The Oracle Solaris Studio software without first running the uninstaller to uninstall the libraries.


Using 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, start the installer by typing:
    ./SolarisStudio12.2-OS-platform-pkg-ML.sh --non-interactive --libraries-only
  3. The installer runs silently and returns your prompt when installation is complete. It writes a log file in the /root/.nbi/logs directory.