Sun Studio 12 Installation Reference Guide

prepare_system Command

The prepare_system command 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 check the system without having root privileges on the system, but you must have root privileges to install missing software.

Syntax

prepare_system [-d directory] [-R altroot] [-C | -s netbeans | java | patches | all_patches | jdk_patches | all | print_needed_steps ]

-d directory

When specifying the -s option to install missing software, use this option if you want to specify the directory in which to install the missing software. If this option is not specified, the software is installed in the standard location.

-R altroot

Use this option to specify a root directory other than the default /. Define the full path name of a directory to use as the altroot. All files, including package system information files, are relocated to a directory tree starting in the specified altroot.

-C

Check the system for the prerequisite software. Lists the missing prerequisite software, or indicates that none is missing. This option does not check for or report the absence of the patches required by the JDK software.

-s netbeans | java | patches | all_patches | jdk_patches | print_needed_steps

netbeans installs the NetBeans 5.5.1 IDE and NetBeans C/C++ Development Pack 5.5.1.

java installs J2SE Development Kit (JDK) 5.0, Update 9.

patches installs the operating system patches required by the Sun Studio 12 software.

all_patches installs both the operating system patches required by, and the operating system patches recommended for, the Sun Studio 12 software.

jdk_patches installs the patches required by the JDK software. On Solaris 10 1/06 platforms, two of these patches are kernel patches. Before using this option, see the http://developers.sun.com/sunstudio/documentation/ss12/release_notes.html for more information.

all checks whether the NetBeans 5.5.1 IDE and NetBeans C/C++ Development Pack 5.5.1, JDK software, and operating system patches required by the Sun Studio 12 software are installed, and installs them if they are missing.

print_needed_steps is an option used by the installer to list the missing software in a machine-readable format.