Installation via a Batch Script
On UNIX, you can use a batch install script instead of the GUI version to install the files.
- 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.
% # 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
- -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.1.0 and for Windows is C:/altair/vov/1212.1.0.
- -local HANDLING
- Specify handling of the 'local' directory where HANDLING is one of the
following. See the description of "previous installation" below:
- copy: Copy previous installation's local directory if it exists. If not, create a new version-specific local directory. This is the default behavior for Windows.
- create: Create new version-specific local directory.
- link: Link to previous installation's local directory. If no previous installation exists, a version-specific copy is installed.
- linkext: Link to a version-independent local directory one level up. This mode results in the local directory being placed in the parent of the installation directory, and a symbolic link is created inside the installation to point to it. If a version-independent local directory already exists from a prior installation, it is unchanged. If a previous installation exists, the local directory is copied from the previous installation. If no previous installation exists, a new local directory is created. This facilitates the reuse of the local directory for all installed versions. This is the default handling for Linux. Not 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. Defaults to the platform on which the installer is run.
- -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.
% cd /opt/altair/vov/2023.1.0
% ./install.sh /opt/altair/vov/2023.1.0 -nocommon -local copy <port@host> -platforms '<added-platform>'
% cd /usr/tmp/altair_download
% ./install.sh /opt/altair/vov/2023.1.0 -nocommon -local copy -alm 6200@almsrv; -platforms 'linux64'