Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Studio 12.3 Installation Guide Oracle Solaris Studio 12.3 Information Library |
2. Installing the Oracle Solaris Studio 12.3 Software
Installing the Oracle Solaris Studio Software
Installing on a Solaris Server for Use by Clients With a Different Architecture
Installing in an Alternate Root Directory
Installing on Multiple Systems
Installing the IDE on a Desktop System
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
Installing the Runtime Libraries Only With 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.3 IDE
3. Uninstalling the Oracle Solaris Studio 12.3 Software
A. Command-Line Options for the Installer,Uninstaller,and install_patches Utility
C. Oracle Solaris 12.3 Components and Packages
D. Patch Identification Numbers and Descriptions
E. Version Numbers of the Oracle Solaris Studio 12.3 Components
You can install the Oracle Solaris Studio 12.3 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.
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.
You can install the Oracle Solaris Studio software on a server running the Solaris OS for use by client systems with a different architecture. You can install the software on a SPARC based server for use by x86 based client systems. Or you can install the software on an x86 based server for use by SPARC based client systems. To install the software for SPARC based systems on an x86 based system, or vice versa, specify the --ignore-architecture option when you start the installer.
To install the software using an alternate root directory, use the non-GUI installer with the --use-alternative-root directory option.
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.
When you install the Oracle Solaris Studio software on a server, you can ask the installer to generate a zip file containing a distribution of the IDE (and the Code Analyzer, if you are installing it) configured for installation on a desktop system with almost any operating system. After installing the Oracle Solaris Studio software, you can unzip this distribution file on a desktop system. When you run the IDE on the desktop system, it will recognize the server on which you generated the distribution as a remote host, and access the tool collection (compilers, make tool, and debugger) in your Oracle Solaris Studio installation.
The graphical user interface (GUI) installer lets you choose the installation directory and select which components of the Oracle Solaris Studio 12.3 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.
su Password: root-password
./solarisstudio.sh
If your system is missing any of the required OS patches. (If you specified the --nfs-server when you started the installer, the installer does not check your system for the patches.)
If you need to install these patches, you can do so by:
Clicking More Info and then clicking Execute install_patches.sh now.
Note - If you are running the installer on a system running Oracle Solaris 10/09 or Oracle Solaris 9/10, you might see one of following messages when the install_patches.sh utility is running.
For patch 147463-01, required patch 137137-09 does not exist.
For patch 147464-01, required patch 137138-09 does not exist
You can ignore the message because patch 147436-01 (SPARC platforms) or patch 147437–01 (x86 platforms) is required only on systems running Oracle Solaris 8/11.
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 Oracle Solaris or Linux client systems that will use the Oracle Solaris Studio 12.3 software on a server. For more information, see Installing the Required Oracle Solaris OS Patches.
If your system does not have JDK 6, Update 24, which is required for running the IDE, dbxtool, DLight, and the Code 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.
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).
/usr/bin/version
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.
su Password: root-password
./solarisstudio.sh --libraries-only
By default, the non-GUI installer installs all components of the Oracle Solaris Studio 12.3 software silently in the default installation directory. You can select which components you want to install by specifying the --install-components option when you start the installer. Use the --print-components-description option or see Command-Line Options for the Non-GUI Installer for a list of the component names you can specify with this option.
You can start the installer with the --installation-location directory option to install the 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.
su Password: root-password
./solarisstudio.sh --non-interactive
If you want to install only selected components of the Oracle Solaris Studio software, include the --install-components option with the names of the components you want to install.
If you are installing the IDE component and you want the installer to generate a zip file containing a distribution of the IDE (and the Code Analyzer, if you are installing it) configured for a desktop operating system, include the --generate-desktop-dir option. The generated zip file is placed in the lib directory in your Oracle Solaris Studio installation.
/usr/bin/version
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.
su Password: root-password
./solarisstudio.sh --non-interactive --libraries-only