Installation via a Batch Script

On UNIX, you can use a batch install script instead of the GUI version to install the files.

Run the command ./install.sh
The values that control the installation are passed into the batch script as command line parameters, except for the "Existing Installation Directory". It gets the value for this from the $VOVDIR environment variable as it runs.
Because this is an update install to add a new platform to a previously installed release, the option -local copy should be used for specifying the handling of the "local" directory. Give it a value that corresponds to your policy on how the install should carry forward the local files from your current release into the upgrade.
  • create: Don't carry files forward. Create new starting state for files.
  • copy: Copy files from current release into upgrade.
  • link: Create symbolic link in upgrade to release-independent local directory.
Note: There is not an option value to cause a symbolic link in upgrade to the local directory in the current release.
Here is the logical description of calling the batch install for the scenario of installing an upgrade:
% # VOVDIR is set for current release
% cd /usr/tmp/altair_download 
% ./install.sh /opt/altair/vov/<version> -local link -alm 6200@almsrv -platforms '<platform list>'

Here is a specific example of installing for the first time that compares to the example used in the GUI dialog example above.

%  source /opt/altair/vov/<version>/etc/vovrc.csh
% cd /usr/tmp/altair_download 
% ./install.sh /opt/altair/vov/<version> -local link -alm 6200@almsrv -platforms 'linux64 linux'

install.sh

This script supports batch installation on Linux as well as Windows. Run from the directory where the installation files were extracted.

By default, the installer will run in graphical mode. Use the -batch option to suppress the GUI and run in batch mode.

Usage

./install.sh [INSTALLPATH][OPTIONS]

Options

Use the options below for non-interactive installation.
-alm PORT@HOST
Value to use for ALTAIR_LICENSE_PATH.
-batch
Install in batch mode. If INSTALLPATH is not passed as an argument, the default installation path for Linux is /opt/altair/vov/1212.10 and for Windows is \opt\altair\vov\1212.10.
-local HANDLING
Specify handling of the 'local' directory where HANDLING is one of:
  • copy (copy previous installation's local)
  • create (create new from installation stubs)
  • link (link to previous installation's local)
  • linkext (link to a version-independent local)
The default handling for Linux is linkext, which results in the local directory being placed in the parent of the installation and a symbolic link created inside the installation to point to it. This facilitates the reuse of the local directory for all installed versions.
The default handling for Windows is copy. Only copy and create are supported on Windows.
-nocommon
Used when installing additional platforms after an initial installation has been performed, to prevent overwriting of the common directory. Ignored on Windows.
-noconfirm
Do not prompt for confirmation to begin the installation process when running in batch mode.
-platforms LIST
A quoted, space-separated list of platforms to install. Supported platforms are: armv8, linux64, and win64.
-previous PATH
Path to previous installation, if applicable. Defaults to the value of $VOVDIR if set in the calling environment. Otherwise, defaults to an empty string.

Examples

./install.sh /opt/altair/vov/<version>
./install.sh /opt/altair/vov/<version> -alm 6200@almsrv
./install.sh /opt/altair/vov/<version> -alm 6200@almsrv -batch
./install.sh /opt/altair/vov/<version> -local create -alm 6200@almsrv
./install.sh /opt/altair/vov/<version> -local link -platforms 'linux64 win64'

Because this is an update install to add a new platform to a previously installed release, the options -nocommon and -local copy should be used. The copy choice for the local parameter will cause the process to copy the local files onto themselves, creating a non-destructive no-op operation.

Here is the logical description of calling the batch install for the scenario of adding platform-specific files for a new platform.
% cd /opt/altair/vov/2023.1.0 
% ./install.sh /opt/altair/vov/2023.1.0 -nocommon -local copy <port@host> -platforms '<added-platform>'
Here is a specific example of doing an update by running the batch install to add the platform Linux to the release.
% cd /usr/tmp/altair_download 
% ./install.sh /opt/altair/vov/2023.1.0 -nocommon -local copy -alm 6200@almsrv; -platforms 'linux64'