The command-line installer offers the same series of interactive steps as the graphical user interface installer in text form.
To start the command-line installer, type the following in the download directory:
./installer -nodisplay |
To install the Sun Studio 12 software on a Solaris server for use by clients with a different architecture, include the -a client_architecture option when you start the installer. To install the software on a SPARC based server for use by x86 based clients, client_architecture is intel-S2. To install the software on an x86 based server for use by SPARC based clients, client_architecture is sparc-S2.
You can exit the command-line installer at any time by typing !. To go back to a previous section of the installer, type <.
The installer displays the software license agreement. Press Enter as many times as needed to display all of the agreement. Then type yes and press Enter to accept the agreement. You cannot continue with installation until you accept the software license agreement.
If your system has all of the prerequisite software, the installer reports that no prerequisites are missing. If your system is missing any of the prerequisite software, the missing software is listed, and you are given a choice of installing it or not. Type 2 and press Enter to install all of the missing prerequisite software. The installer does not report the absence of the patches required by the JDK software, and does not install them if they are missing.
The default installation directory for the Sun Studio 12 is /opt on Solaris platforms and /opt/sun on Linux platforms. To accept the default directory, press Enter. If you want to change the installation directory, type the name of the directory into which you want to install the Sun Studio 12 software and press Enter. If you have previously installed some components of the Sun Studio 12 software, the installer displays that installation directory and will install additional components in the same directory.
If you are installing on a single-user system, type 1 and press Enter to skip the advanced options. If you are installing on a server, type 2 and press Enter to continue to the advanced options.
Advanced options offers options you might want to select when installing on a server.
If you are installing on a Solaris 10 1/06 OS system with zones, you can specify the zone in which you want to install the software:
If you are running the installer in the global zone, you can choose to install the software in this zone (the global zone, not visible from local zones) or all zones (the global zone, visible from local zones).
If you are running the installer in a local zone, you can choose this zone to install the software in that local zone. The software will be accessible only from that zone.
The installer offers the following optional installation steps:
Cross-install: If you are installing the Sun Studio 12 software on a server for use by client systems with a different architecture, type 1 and press Enter to enable cross-install. You must have specified the client architecture with the -a option when you started the installer.
Copy system prerequisites: If you are installing the Sun Studio 12 software on a server for use by client systems, type 2 and press Enter to prerequisite software to the server for use when running the system preparation tool on client systems that will run the Sun Studio 12 software. The software is copied to the prepare_system_prerequisites directory in the Sun Studio 12 installation directory. For example, if the Sun Studio 12 installation directory is the default /opt directory, the prerequisite software is copied to /opt/prepare_system_prerequisites. The prerequisite software requires 1.2 GB of disk space on SPARC platforms running the Solaris OS, 750 MB of disk space on x86 platforms running the Solaris OS, and 200 MB of disk space on Linux platforms.
Create /usr/bin/symlinks: If you do not want the installer to create symbolic links in the /usr/bin directory and /usr/share/man directory to the Sun Studio 12 software and man pages, type 3 and press Enter to disable creation of these links. These links are created by default unless you already have symbolic links in /usr/bin and /usr/share/man to a previous Sun Studio release.
Type 0 and press Enter when you have finished selecting optional installation steps.
To set a root directory other than the default /, type the name of the directory and press Enter. All files, including package system information files, are relocated to a directory tree starting in the specified alternate root directory.
Select any component or subcomponent you do not want to install by typing its number and pressing Enter. When you are finished selecting the components to install, type 0 and press Enter.
The installer lists the components to be installed, the installation directory, and the disk space required. When you type 1 and press Enter, the installation begins. The installer displays the progress of the installation.
This page is displayed if there any post-installation steps to be performed. The page lists steps you requested on Select Options page, such as installing missing prerequisite software and copying the prerequisite software to a server. If Sun Studio 12 product patches are available for installation, they are installed unless you type 2 and press Enter.
When the installation is complete, the installer displays the result. Type 1 to see information on the packages that were installed. Type 2 and press Enter to exit the installer.