Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (625 KB)
Chapter 1 Preparing for InstallationThis chapter includes information about the following: Software Installation OverviewThe following steps outline the general process you follow to install the Sun Studio 12 software, product serial number, and supporting software.
System RequirementsSun Studio 12 software supports the hardware and operating system requirements shown in Table 1–1. Note – For further disk space requirements and important last minute information about this release, see the release notes at http://developers.sun.com/sunstudio/documentation/ss12/release_notes.html. Table 1–1 System Requirements
Choosing Local or Remote Display of the InstallerYou can display the installer either locally or remotely while you are installing the Sun Studio 12 software with the graphical user interface installer or the command-line installer:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
xhost + source-computer-name |
Replace source-computer-name with the output of the /usr/bin/hostname command entered on the source computer, which is the computer that contains the product DVD or downloaded files.
Log in to the source computer and become a superuser (root).
rlogin source-computer-name -l rootname Password: root-password |
On the source computer, set the display to the monitor that is attached to the display computer.
If you use the C shell, type:
setenv DISPLAY display-computer-name:n.n |
If you use the Bourne shell, type:
DISPLAY=display-computer-name:n.n export DISPLAY |
If you use the Korn shell, type:
export DISPLAY=display-computer-name:n.n |
Replace display-computer-name with the output of the /usr/bin/hostname entered on the display computer.
To install the Sun Studio software on an NFS-mounted filesystem, you must run the installer on a supported system regardless of where the NFS partition is mounted. In the following procedure, the server is the machine with the physical disk on which the installed software will reside, and the client is the machine on which you run the installer and which NFS-mounts the filesystem from the server.
The best way to share the product image as an NFS-mounted filesystem is to export it from a supported system. Run the installer on the server and share the directory in which the software is installed. Use the following NFS install procedure only if your NFS server is not a supported platform for the product.
After mounting the filesystem you can install the Sun Studio product on the server by running the graphical user interface installer, command-line installer, or batch installer on the client machine . You would specify the directory on which you mounted the filesystem as the installation directory for the Sun Studio 12 software.
After you have installed the software, any machine that is running version 9, or 10 1/06 of the Solaris OS can mount the filesystem from the server on which you installed the software, and run the software. Each client machine that runs the software must have the correct prerequisite software installed (see Checking For and Installing Software Prerequisites.
To uninstall Sun Studio software installed on an NFS-mounted filesystem, you must run the uninstaller on the same client machine you used to install the software, and you must mount the filesystem prior to running the uninstaller.
On the server machine, share the filesystem with the appropriate options. It is essential that root on the client machine on which the installer will be run have full access to the NFS filesystem:
share -F nfs -o root=client-machine,rw filesystem |
On the client machine, mount the shared filesystem with read/write access:
mount server-machine:filesystem installation-directory |
If you installed any other release of Sun Studio software on your system, then you must install uninstall it, or install the Sun Studio 12 software in a different directory.
If you installed the Early Access release of Sun Studio 12 software, you must uninstall it before you can install the final release.
If you installed Sun Studio 10 software or Sun Studio 11 software on a Solaris 10 system, you can install Sun Studio 12 software on that system only if you specify the correct zones option when you run the Sun Studio 12 installer.
To install Sun Studio 12 software on a Solaris 10 system that has Sun Studio 10 software installed, you must install it in all zones.
To install Sun Studio 12 software on a Solaris 10 system that has Sun Studio 11 software installed, you must install it only in the zone in which you are running the installer. For more information, see Installing on a Solaris 10 1/06 OS Server With Zones
The system preparation tool lets you check the system on which you are going to run the Sun Studio 12 software for the prerequisite software, and install any missing software. You can run the system preparation tool from the command line before you run the installer or as an option of the batch_installer command. The system preparation tool is run automatically by the graphical user interface installer and the command-line installer. For a complete description of the system preparation tool, see the prepare_system(1) man page or the Sun Studio 12 Installation Reference Guide.
The Sun Studio 12 software requires the following additional software, which is included in the product download file and on the product DVD:
J2SE Development Kit (JDK) 5.0, Update 9. For optimum performance, install the JDK software locally on each machine that will run the Sun Studio 12 software.
Patches required by the JDK software. These patches are required for correct operation of the JDK software. They are listed in Appendix C, JDK Software Required Patch Identification Numbers and Descriptions, in Sun Studio 12 Installation Reference Guide
NetBeans 5.5.1 IDE and NetBeans C/C++ Development Pack 5.5.1. For optimum performance, install these locally on each machine that will run the Sun Studio 12 software.
Operating system patches required by the Sun Studio 12 software. These patches are required for correct operation of the Sun Studio 12 software and must be installed on the system that will run the software. They are listed in Appendix B, Patch Identification Numbers and Descriptions, in Sun Studio 12 Installation Reference Guide
There are four ways to install the Sun Studio 12 software:
|
Batch installer |
The batch_installer command installs all components of the Sun Studio 12 software with minimal user interaction. You specify the installation directory and root path with the command. Once you have invoked the command, the installation proceeds to completion. For a complete description of the batch_installer command, see the Sun Studio 12 Installation Reference Guide |
|
Graphical user interface installer |
The graphical user interface installer is an installation wizard that displays pages for a series of installation steps. On each page, you can quit, go back to the previous step, or go on to the next step. You can choose the installation directory and which components and subcomponents of the Sun Studio 12 software you want to install. For a complete description of the graphical user interface installer, see the Sun Studio 12 Installation Reference Guide |
|
Command-line installer |
The command-line installer offers the same series of interactive steps as the graphical user interface installer in text form. For a complete description of the command-line installer, see the Sun Studio 12 Installation Reference Guide. |
|
Solaris JumpStartTM installer |
You can use the JumpStart installer to automate the installation process to install the Sun Studio 12 software on multiple systems. See for an overview of JumpStart installation steps. See the Solaris Installation Guide for complete details of JumpStart installation. |