About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
InstallAnywhere packages are provided in installable and archive formats, with the following characteristics:
- Installable packages configure your system, for example by setting environment variables. These packages require ROOT authority to complete an installation.
- Archive packages extract the files to your system without any configuration settings. These packages do not require ROOT authority to complete an installation.
The following types of installation are possible:
- Attended installation: Use this method to interact with the install program.
- Unattended installation: Use this method to run a silent install from the command line with a response file that specifies your configuration options. This method is useful for widescale deployments.
Contents:
Before you begin
The following prerequisities apply:
- Linux:
- For installable packages, you must have the `rpm-build` tool installed or the package cannot be registered in the RPM database.
- If you previously installed the IBM SDK from an RPM package, uninstall before proceeding.
- On SUSE systems, a different version of Java might already be installed. Uninstall this version.
- You must have the following dependent libraries:
- GNU C Library: eglibc v2.19+ (ppc64le) or glibc v2.3.4+ (x86 and s390x)
- standard C++ library: libstdc++.so.6
- AIX:
- You must have the XL C++ runtime environment xlC.aix61.rte
Attended installation
Follow these steps to install a package interactively:
- Download the installable package.
- Start the installation:
- On a desktop system, double-click the package icon to start the user interface.
- On a system without a desktop, run the following command at a shell prompt:
./<package_name>.bin
- Choose your language.
- Read and accept the license agreement.
- Choose a target directory.
- Review your choices and let the installation proceed.
- When complete, end the process.
Unattended installation
Follow these steps to install a package silently:
- To create a response file, complete an attended installation.
- On a desktop system, a response file called installer.properties is automatically created in the installation directory.
- On a system without a desktop, run the following command to create a response file:
-
./<package_name>.bin -r /<path>/installer.properties
The following example shows a response file that is configured to install to the directory my_dir:
-
INSTALLER_UI=silent USER_INSTALL_DIR=/my_dir LICENSE_ACCEPTED=TRUE
If you want to create multiple configuration options, repeat the installation and store the generated response file with a unique name.
The value LICENSE_ACCEPTED=TRUE is added when you create the response file by running an attended installation and accepting the license agreement. If you edit an existing response, you must read the license agreement and confirm your acceptance by including this line, or the installation fails.
-
- If you want to record the status of an unattended installation, you can generate a log file and send the output to the console by specifying the following commands:
-
export _JAVA_OPTIONS="-Dlax.debug.level=3 -Dlax.debug.all=true"
-
export LAX_DEBUG=1
-
- To start the installation process, run the following command:
-
./package -i silent -f /<path>/<response_file> 1>console.txt 2>&1
If multiple response files exist in the <path> directory, the default response file, installer.properties, is used.
-
Upgrading
To upgrade a package you must uninstall the previous package before you install a later level.
Uninstalling
To remove an archive package, delete the target directory for the installed package.
To remove an installable package, run the following command from the target directory:
./_uninstall/uninstall