Oracle® Solaris Studio 12.4: Installation Guide

Exit Print View

Updated: December 2014
 
 

Command-Line Options for the Installer, Uninstaller, and install_patches Utility for Oracle Solaris 10 and Linux Platforms

This appendix describes all the options for the package installer and uninstaller..

Command-Line Options for the Graphical Installer

The following command-line options are valid when you are starting the graphical installer.

--current-zone-only
Install only in the current zone. When you run the installer in the global zone, this option makes the installed product available only in that zone.
--help
Display information on the options.
--ignore-arch
Disable system architecture checking (Oracle Solaris based systems only)
--javahome directory
Use the JDK in directory when running the installer. This option is needed when the installer cannot locate a JDK in a standard location on your system, and you need to point it to one.
--libraries-only
Perform runtime libraries only installation.
--locale locale
Override the default locale for the installer with the specified locale. Valid locales are en (English), ja (Japanese), and zh (Simplified Chinese).
--nfs-server
Use NFS server installation mode, in which the installer does not check the server for the required Oracle Solaris patches or create symbolic links in the /usr/bin directory.
--output output_file
Write all installer output to the specified file.
--record state_file.xml
Record an installer session in the graphical installer so that you can use repeat the installation on another system with the command-line installer. This option is especially useful when you want to install a subset of the product components on multiple systems.
--tempdir directory
By default, the installer extracts temporary data into the /tmp directory. If there is not sufficient space in the /tmp directory on your system, you can specify another directory for the installer to use.
--verbose
Write verbose output to the console.

Command-Line Options for the Command-Line Installer

The following command-line options are valid when you are starting the solarisstudio.sh command-line installer.

--create-symlinks
Create symbolic links in the /usr/bin and /usr/share/man directories to the Oracle Solaris Studio 12.4 software and man pages.
--current-zone-only
Install only in the current zone. When you run the installer in the global zone, this option makes the installed product visible only in that zone.
--extract-installation-data directory
Extract installation data, do not perform installation.
--generate-desktop-distr
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. The zip file called -desktop-distribution.zip is located in the lib directory of your Oracle Solaris Studio installation.
--help
Display information on the options.
--ignore-arch
Disable system architecture checking (Oracle Solaris based systems only)
--install-components component_name,component_name,...
Install only the specified components. The valid component_names are: c-and-cpp-compilers, code-analyzer-tool, dbx-debugger, dbxtool, dlight-observability-tool, dmake, fortran-compiler, oic, performance-and-thread-analysis-tools, performance-library, and studio-ide.
--installation-location directory
Install Oracle Solaris Studio software in the specified directory instead of in the default installation directory /opt.
--javahome directory
Use the JDK in directory when running the installer. This option is needed when the installer cannot locate a JDK in a standard location on your system, and you need to point it to one.
--libraries-only
Perform runtime libraries only installation.
--locale locale
Override the default locale for the installer with the specified locale. Valid locales are en (English), ja (Japanese), and zh (Simplified Chinese).
--nfs-server
Use NFS server installation mode, in which the installer does not check the server for the required Oracle Solaris patches or create symbolic links in the /usr/bin directory.
--non-interactive
Start the installer in command-line mode.
--print-components-description
Lists the component names you can use with the -install-components option
--silent-logs-dir directory
Write the installer log file to the specified directory.
--state state_file .xml
Play back the state file recorded by the graphical installer to silently repeat an installation session. This option lets you install a subset of the product components in command-line mode.
--tempdir directory
By default, the installer extracts temporary data into the /tmp directory. If there is not sufficient space in the /tmp directory on your system, you can specify another directory for the installer to use.
--use-alternative-root directory
Install in the specified root directory instead of the default root directory /. Specify the full path of the directory to use as the alternate root. This option is valid only on systems running Oracle Solaris 10.
--verbose
Write verbose output to the console.

Command-Line Options for the Uninstaller

The following options are valid when starting the uninstall.sh uninstaller.

--force-uninstall
Remove the Oracle Solaris Studio 12.4 packages and the installation directory without removing the /.nbi directory.
--javahome directory
Use the JDK in directory when running the uninstaller. This option is needed when the uninstaller cannot locate a JDK in a standard location on your system, and you need to point it to one.
--locale locale
Override the default locale for the uninstaller with the specified locale. Valid locales are en (English), ja (Japanese), and zh (Simplified Chinese). This option is valid only for the graphical uninstaller.
--non-interactive
Run the uninstaller in command-line mode and uninstall installed components of the software.
--output output_file
Write all uninstaller output to the specified file. This option is valid only for the graphical uninstaller.
--tempdir directory
By default, the uninstaller extracts temporary data into the /tmp directory. If there is not sufficient space in the /tmp directory on your system, you can specify another directory for the uninstaller to use.
--use-alternative-root directory
Uninstall from the specified root directory instead of the default root directory /. This option is valid only for the command-line uninstaller and only on systems running Oracle Solaris.
--verbose
Write verbose output to the console.

Command-Line Options for the install_patches.sh Utility

The following options are valid when starting the install_patches.sh utility.

-G
Add patches to packages in the current zone only. When you run the utility in the global zone, this option makes the patches available in that zone only.
-p
Install Oracle Solaris Studio product patches if available. If you specify this option and no product patches are available, the utility displays a message telling you so.
-l locale
Override the default locale for the utility with the specified locale. Valid locales are en (English), ja (Japanese), and zh (Simplified Chinese).
-R directory
Install patches in the specified root directory instead of the default root directory /. Specify the full path of the directory to use as the alternate root.
-h
Display information on the options.