Quick Start for Linux > Quick Start Guide > Installing Actian X > Installing Actian X for Linux > Installing Actian X for Linux at the Command Line
Was this helpful?
Installing Actian X for Linux at the Command Line
You can install the Actian X RPM packages at the command line using the install command.
For instructions on using the RPM command to install Actian X, see the Installation Guide.
install Command--Install Actian X
The install.sh command quickly installs Actian X RPM packages.
This command has the following format:
install.sh [-interactive|-express] [-acceptlicense]
         [-uid uid] [-user username] [-noroot] [-usesudo] [-no32bit]
         [-respfile file] [-?|-help] [instance_ID] [install_dir]
         [-licdir dir] [-sparkdownload]
-interactive
Prompts for all configuration options. (Conflicts with -express.)
Note:  This option is for advanced users only.
-express
(Default) Does not prompt for configuration options. Installs Actian X with the default configuration, as user “ingres”. (Implies -acceptlicense; conflicts with ‑interactive.)
-acceptlicense
Accepts all license prompts.
-uid uid
Specifies the user ID (UID) to be used when creating user. The user name must exist. (Disallowed with -noroot.) (Not valid for RPM and DEB.)
-user username
Installs Actian X as username instead of “ingres”. The user name must exist. (Disallowed with ‑noroot.)
-noroot
Installs Actian X as the current user. All installation locations must exist and be writable as current user for the installation to succeed. (Not valid for RPM or DEBs.) Instance will be owned by the current user.
-usesudo
Installs Actian X using the current user and invokes sudo for root access, locally and remotely. The instance is owned as “ingres” by default. If required, the current user is used for remote connections and sudo is invoked for root access. (Not valid for RPM or DEBs or as root user.)
-no32bit
Does not install 32-bit support and Applications-By-Forms (ABF).
-licdir dir
Uses dir as the location of a valid license.xml file. (Not valid with -respfile.)
-respfile file
Uses the settings in the response file during setup. A response file lets you customize the installation. (Requires -express or -acceptlicense; not valid with -interactive.)
instance_ID
Defines a two-character string where the first character must be an uppercase letter and the second character must be an uppercase letter or a number from 0 to 9.
Default: II
install_dir
Identifies the full path to the location where Actian X is to be installed (II_SYSTEM).
Note:  Not valid for DEBs, hard coded to: /opt/Actian/Ingres
Default: /opt/Actian/IngresII
-sparkdownload
Downloads and configures Apache Spark. Not valid with -interactive.
Note:  install.sh will fail if another instance of Actian X exists with the same instance ID as the one you are installing (RPM only).
Examples: install.sh Command
1. Install all RPM packages with the default configuration into the default location "/opt/Actian/IngresII":
install.sh -licdir lic_dir
2. Install all RPM packages with the default configuration into the default location "/opt/Actian/IngresII", but with an instance ID of A1:
install.sh -licdir lic_dir A1
3. Install all RPM packages with the default configuration into "/opt/Actian/IngresA2", with an instance ID of A2:
install.sh -licdir lic_dir /opt/Actian/IngresA2 A2
4. Install all RPM packages in interactive mode (prompting for manual configuration):
install.sh -interactive
5. Install all RPM packages with the configuration defined in a response file, resp.txt:
install.sh -respfile /path/to/resp.txt
Note:  If you set II_RESPONSE_FILE to point to a valid response file, then you can install Actian X with the configuration defined in that response file.
Last modified date: 08/14/2024