Installation Guide > Installation Guide > Installing Actian X > Installing Actian X for Linux > install Command—Install Actian X for Linux
Was this helpful?
install Command—Install Actian X for Linux
The install.sh command installs Actian X RPM packages. When no flags are specified, the command runs with no prompts (that is, in express mode) and installs Actian X into the default location with the default configuration.
This command has the following format:
install.sh [-express|-interactive] [-acceptlicense]
         [-uid uid] [-user username] [-noroot] [-usesudo] [-no32bit]
         [-respfile file] [instance_ID] [install_dir]
         [-licdir dir] [-sparkdownload] [-?|-help] 
-express
(Default) Does not prompt for configuration options. Installs Actian X with the default configuration, as described in Default Installation Configuration.
(Implies -acceptlicense; conflicts with ‑interactive.)
-interactive
Prompts for all configuration options. (Conflicts with -express.)
Note:  This option is for advanced users only.
-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). Skip installing the 32 bit support and ABF packages. (Not valid with -interactive)
 
-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.) For more information, see Response File—Define Configuration for the Installation.
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
-licdir dir
Uses dir as the location of a valid license.xml file. (Not valid with -respfile.)
-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: 04/03/2024