This chapter includes information about the following:
The following steps outline the general process you follow to install the Sun Studio 12 Update 1 software, product serial number, and supporting software.
Step |
Task |
Description |
For Instructions |
1. |
Verify that the system on which you are installing the Sun Studio 12 Update 1 software meets the minimum hardware and operating system requirements for this release. |
Using a system that meets the system requirements is recommended for proper performance. | |
2. |
Determine whether you are going to display the installer locally or remotely. |
You can install the Sun Studio software using a remote display or local display. | |
3. |
Choose an installation method. |
There are two ways to install the Sun Studio software. | |
4. |
Install the Sun Studio 12 Update 1 software and the required OS patches. |
Step through the installation information. |
Sun Studio 12 Update 1 software supports the hardware and operating system requirements shown in Table 1–1.
For further disk space requirements and important last minute information about this release, see the release notes at http://docs.sun.com/app/docs/doc/821-0080.
Solaris OS on SPARC based systems |
Solaris OS on x86 based systems |
Linux OS on x86 based systems |
|
---|---|---|---|
Operating system |
Solaris 10 1/06 and subsequent Solaris 10 OS updates OpenSolaris 2008.11 and 2009.06 (when installed from the OpenSolaris release repository) |
SuSE Linux Enterprise Server 10 RedHat Enterprise Linux 5 CentOS 5 Oracle Enterprise Linux 5.3 |
|
CPU |
Sun UltraSPARC-based systems Fujitsu SPARC64 platform-based systems |
32 and 64 bit systems (Pentium class or newer) based on AMD and Intel x86 CPUs |
|
Memory |
Recommended: 1 to 2 GB Minimum: 512 MB (more may be needed for working with large projects in the IDE) |
||
Disk space (Use the df -k command to check your disk space.) |
1.35 GB |
926 MB |
633 MB |
Swap space |
Recommended: 2 to 4 GB Minimum: 1 GB To add swap space to your system, see Adding Swap Space |
||
Operating system configuration |
For the Solaris 10 OS: Entire Solaris Software Group Plus OEM Support, Entire Solaris Software Group, or Developer Solaris Software Group (To determine your operating system configuration, you need to verify the installed packages. Specific packages are installed for each configuration. See the Solaris OS installation documentation for more details.) |
Linux OS must include the Development/Libraries Package Group. |
You can display the installer either locally or remotely while you are installing the Sun Studio 12 Update 1 software with the graphical user interface installer or the command-line installer:
Local display. The source computer and the display computer are the same computer. The installer window or command-line installer is displayed on the same computer that contains the product DVD or downloaded files and runs the installer.
Remote display. The source computer and the display computer are different computers. The source computer contains the product DVD or downloaded files and runs the installer. The display computer displays the installer window or command-line installer. To install using a remote display, follow the instructions in the remainder of this section.
On the display computer, enable client access to the X server by typing the following on the command line:
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 (GUI) installer or non-GUI 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 Update 1 software.
After you have installed the software, any machine that is running the Solaris 10 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 required OS patches installed (see Appendix D, Patch Identification Numbers and Descriptions). You can install the patches using the install_patches utility (see Installing the Required Solaris OS Patches.
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 previous release of Sun Studio software (Sun Studio 12 software or an earlier release) on your system, then you must uninstall it, or install the Sun Studio 12 Update 1 software in a different directory.
If you used the English-only installer to install some components of the English-only release of the Sun Studio 12 Update 1 software, you can use the multi-language installer to install additional components for the English locale. However, before using the multi-language installer to install Sun Studio 12 Update 1 software for additional locales, uninstall all English-only Sun Studio 12 Update 1 software installed with the English-only installer.
If you installed Sun Studio 10 software, Sun Studio 11 software, or Sun Studio 12 software on a Solaris 10 system, you can install the Sun Studio 12 Update 1 software on that system only if you run the installer from the correct zone.
On a Solaris 10 system that has Sun Studio 10 software installed, you must run the installer in the global zone, which will install the Sun Studio 12 Update 1 software in all zones.
On a Solaris 10 system that has Sun Studio 11 software or Sun Studio 12 software installed, you can run the installer in either the global zone or a local zone, but the installer will install the Sun Studio 12 Update 1 only in the zone where you are running the installer.
On a Solaris 10 system that has no previous releases of Sun Studio software installed, you can run the installer in the global zone to install the Sun Studio 12 Update 1 software in all zones, or in a local zone to install the software in that zone only.
There are two ways to install the Sun Studio 12 Update 1 software:
Package installer, graphical user interface (GUI) mode |
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 of the Sun Studio 12 Update 1 software you want to install. |
Package installer, non-GUI mode |
The non-GUI mode of the package installer installs all components of the Sun Studio 12 Update 1 silently. |