1.2.2. Basic Installation

Caution

Do not install a new version of the Axivion Suite over an old one. If you choose the directory of an older installation, the graphical installer offers to remove it automatically, as described below. An installation that the graphical installer cannot remove, e.g., one extracted from an archive, must be uninstalled manually, or the new version must be installed into a different directory.

Make sure you have read Update and Migration for information on how to migrate to a newer version of the Axivion Suite.

1.2.2.1. Using the Installer

You have received the necessary download information (URL, username, password) for the Axivion Suite from The Qt Company GmbH, a subsidiary of The Qt Group. Download the distribution using the provided URL. The main distribution file is named Axivion-<version>-<arch>-<os>.<ext>, where <version> is the version number, <arch> is the CPU architecture, and <os> is the target operating system of the Axivion Suite. The file extension <ext> will be .exe on Windows®, .dmg on macOS, and .run on Linux. For example, Axivion-7.13.0-x86_64-gnu_linux.run is the installer of version 7.13.0 for Linux on 64-bit x86.

Note

Distribution files with the extensions .zip and .tar.gz can be used to extract the Axivion Suite directly, without using the installer.

The recommended method is to use the installer, as it performs additional setup steps (e.g., start menu entries, license installation) automatically. If you still wish to extract the Axivion Suite directly, please refer to Direct Extraction.

Installer Walkthrough

The main distribution file is a self-extracting archive that guides you through the installation process. Follow the instructions provided by the installer. The screenshots below were taken on a Windows® system, but the installer is virtually identical on all supported platforms (Windows®, GNU/Linux, macOS).

The welcome screen.

The welcome screen.

Click the Next > button.

Scope of installation.

Scope of installation.

Here, you can choose whether to install for all users on the machine or only for the current user. If you do not have administrator privileges, selecting “All Users” and clicking Next > will prompt you for them. If they are not granted, the installer switches to an installation for the current user. You can continue with that installation, click < Back and select “All Users” again to repeat the prompt, or click Cancel to quit the installer. Installations for a single user and for all users can coexist.

Destination for the |bauhaussuite| .

Destination for the Axivion Suite .

Choose the location where the Axivion Suite is to be installed. Depending on the installation type (current user or all users), a sensible default location is provided. You can browse to another directory by clicking the Browse... button.

Tip

If the selected location contains an existing Axivion Suite installation that was installed via the installer, you will be asked whether the old installation should be automatically removed. License key files (*.key) in the config directory of the old installation will be automatically moved to the new installation (to BAUHAUS/config for all users, or to .bauhaus in the home directory for the current user). All other files in the old installation directory will be deleted.

If you select “No” (or if automatic uninstallation fails), you must handle the uninstallation manually; otherwise, this location cannot be selected. An installation that was not created with the installer (e.g., one extracted from an archive) cannot be removed automatically.

Click Next > to proceed to the next screen. Henceforth, let BAUHAUS denote the chosen installation location.

Component overview for the installation.

Component overview for the installation.

Here, you will see an overview of the available components. Currently, these are divided into the Axivion Suite itself and its documentation.

Click Next > to proceed to the next screen.

Final installation summary.

Final installation summary.

A final summary shows what will be installed and the required disk space. Click Install to install the Axivion Suite to the chosen destination. This may take a while.

Optionally install the license.

Optionally install the license.

Once the installation is complete, you can optionally install the license key. There are two ways to do this: use your Qt Account in combination with the Qt License Server (QLS), or use a file-based license key. Please check with your Axivion Administrator to determine which license mechanism your company uses. You may also choose to skip license installation and handle it manually later.

Choose the license file that shall be used for the |bauhaussuite|.

Choose the license file that shall be used for the Axivion Suite.

Enter the credentials for the Qt Account that has a valid |bauhaussuite| license.

Enter the credentials for the Qt Account that has a valid Axivion Suite license.

  • If you choose License File: Use the file chooser to select your license key file, and the installer will place it in the correct location on the disk.

  • If you choose Qt Account: First, you must agree to the terms and conditions shown on screen. Read the terms and check the applicable boxes. Then, click Next > to proceed to the next screen, where you may enter your Qt Account credentials to license the installation.

Unless you skip the license setup, the installer then displays a Verify License page. This page verifies the license against the new installation and reports whether it is valid. If it is not, correct the problem and then click Re-check. The command-line installer prints the same information after license setup, either as License verified: OK or WARNING: License NOT valid: <reason>.

For a more detailed description of the available license mechanisms, or if you want to skip license handling here and handle it manually, please refer to Licensing.

The installation has completed.

The installation has completed.

The installation is complete. Click Finish to exit the setup wizard. You can also check “Open Documentation” to open the Axivion Suite documentation in your browser after the installer closes.

Command-Line Installation

The installer can also be used from the command line on all platforms. This is useful in the following scenarios:

  1. You are in a headless environment (without a graphical user interface) and can only run command-line or TUI programs.

  2. You are performing an unattended installation (e.g., via a script) and wish to pass the configuration to the installer to avoid interactive prompts.

Refer to the Qt IFW documentation for a full list of available command-line options (note that Axivion Suite-specific arguments are covered here).

Note

The command-line installer differs from the GUI installer in the following ways:

  1. It cannot remove existing Axivion Suite installations automatically. Manually remove any existing installation first by running (assuming OLDBAUHAUS is the location of your old installation):

    OLDBAUHAUS/maintenancetool --confirm-command purge
    
  2. For security reasons, it will not ask for your Qt Account credentials interactively. If you use this license mechanism, please set the environment variables QT_ACCOUNT_LOGIN_EMAIL and QT_ACCOUNT_LOGIN_PASSWORD to your email and password, respectively.

Headless Installation

For the first scenario (running the installer on the command line with interactive prompts), run the installer as follows, where BAUHAUS is your desired target location for the installation:

Axivion-<version>-<arch>-<os>.<ext> install --root BAUHAUS

The installer will prompt you for the same information as the GUI version; enter your answers in the terminal. For example (typed-in values are prefixed with >):

[4] Install for all users or current user? [all/current]
> current
[21968] How do you want to license your installation? Available options:
* qt: Use your Qt Account and the Qt License Server to provide your license.
* file: Provide your license key in the form of a file.
* none: Skip installing a license for now.
[21968] Select license type [qt/file/none]
> file
[130993] Enter the absolute path to your license key file:
> /tmp/mylicense.key

Unattended Installation

Instead of responding to prompts interactively, you can supply settings as arguments. The general syntax is:

Axivion-<version>-<arch>-<os>.<ext> install --accept-licenses --default-answer --confirm-command --root BAUHAUS Arg1=Val1 Arg2=Val2 [...]

The following arguments are available:

  • UserScope: Either current for the current user, or all for all users.

  • AxivionLicenseType: Can be:
    • qt: Set up a QLS-based license by logging in with your Qt Account.

      For the cloud license server, you must set the environment variables QT_ACCOUNT_LOGIN_EMAIL and QT_ACCOUNT_LOGIN_PASSWORD to your Qt Account credentials.

    • file: Copy over a file-based license key.

      Set the AxivionLicenseFile argument to the absolute path of your license key file.

    • none: Do not set up any license.

For example, on Linux, this could be:

./Axivion-7.13.0-x86_64-gnu_linux.run install --accept-licenses --default-answer --confirm-command --root /tmp/bauhaus UserScope=current AxivionLicenseType=none

1.2.2.2. Direct Extraction

Note

When extracting from the portable .zip or .tar.gz archive, start menu entries will not be created, and you must handle license installation manually.

You have received the necessary download information (URL, username, password) for the Axivion Suite from The Qt Company GmbH, a subsidiary of The Qt Group. Download the distribution using the provided URL. The main distribution file is named Axivion-<version>-<arch>-<os>.<ext>, where <version> is the version number, <arch> is the CPU architecture, and <os> is the target operating system of the Axivion Suite. The file extension <ext> will be .zip on Windows® and .tar.gz on macOS and GNU/Linux.

Extracting on GNU/Linux or macOS

Extract the distribution contents by executing the following command at the shell prompt (superuser privileges are not required):

cd INSTALL_BASE
tar xzf Axivion-<version>-<arch>-<os>.tar.gz

A directory named bauhaus-suite will be created within your chosen directory, and the Axivion Suite will be extracted there. Henceforth, let BAUHAUS denote the complete path of the directory created by the extraction.

Example:

cd $HOME
tar xzf Axivion-7.13.0-x86_64-gnu_linux.tar.gz

If you choose your home directory as the installation directory, the Axivion Suite is installed into $HOME/bauhaus-suite, and BAUHAUS denotes $HOME/bauhaus-suite.

Preparing for first use

To complete the installation without the installer, execute the setup.sh script inside BAUHAUS.

Example (assuming you installed the Axivion Suite in your $HOME directory):

cd $HOME/bauhaus-suite
sh setup.sh

The script modifies BAUHAUS/bauhaus-kshrc and BAUHAUS/bauhaus-cshrc and creates symbolic links for dynamic libraries not already installed on your system, from contrib/ to lib/ for use within the Axivion Suite. This does not affect other applications, and superuser privileges are not required to execute the setup.sh script. The script also registers the bauhaus_launcher as the handler for the axivion: protocol scheme (see Installation); failure of this step will not stop the script.

setup.sh accepts the following options:

--non-interactive

Does not ask any questions and assumes the answer “yes”. This is also the default if the script does not run in a terminal.

--link-deps-only

Only sets up the symbolic links for the dynamic libraries, without modifying bauhaus-kshrc and bauhaus-cshrc, and without registering the protocol scheme handler. Implies --non-interactive.

--unlink-deps

Removes the symbolic links from lib/ to contrib/ and exits. Implies --non-interactive.

Extracting on Windows®

Unpack the distribution contents to your desired location (e.g., by right-clicking the ZIP file in File Explorer and selecting “Extract All”).

If you want to install the registry keys for file types .ir and .rfg as the installer does, you may execute the script install_registry_keys.py.

License

A valid license is needed to use Axivion Suite. Please refer to Licensing for instructions on how to set up the correct license mechanisms.

1.2.2.3. Uninstalling

The installer provides a maintenancetool (maintenancetool.exe on Windows®) in the installation folder for fully uninstalling the Axivion Suite, provided that you used the guided installer instead of extracting the .tar.gz or .zip archive directly.

Note that uninstalling the Axivion Suite via the “Installed Apps” page in Settings may not work correctly on Windows 11. Instead, you must either uninstall via the “Programs and Features” page in the Control Panel, or run maintenancetool.exe directly from the installation folder.

1.2.2.4. Using the Axivion Suite

On GNU/Linux or macOS

To use the Axivion Suite tools, please source either BAUHAUS/bauhaus-cshrc or BAUHAUS/bauhaus-kshrc, depending on the shell you use.

On Microsoft Windows®

When using Microsoft Visual Studio C++

For Visual Studio 2010 or later, see the chapter MSBuild Integration.

When using Cygwin

For a Cygwin-based setup, see the Cygwin HOWTO.

File System Caveat

By default, Microsoft Windows® file systems are case-insensitive; for example, FILE is treated as the same as File and file. Consequently, you can write inconsistent include statements in different source files:

#include "errors.h"

And:

#include "Errors.h"

In both cases, the same file is included. The Axivion Suite uses Windows® API functions to determine and use the correct file casing.

Caution

On UNIX systems, the file extension .C (uppercase C) is sometimes used for C++ files. On Windows®, .C is indistinguishable from .c, and files ending in .C are treated as C files rather than C++ files. Use a different file extension such as .cc, .cpp, .cxx, or .c++ instead, or specify the -lang-c++ or -lang-c command-line option to resolve ambiguity when calling cafeCC.

1.2.2.5. FAQ

Q: Can I run multiple Axivion versions simultaneously on the same machine?

A: Yes. In a new terminal, run the absvars.bat (Windows) or bauhaus-kshrc (Linux) script from the desired release folder. This ensures that any Axivion commands in that terminal use that specific version.

Note: The dashboard is backward compatible with analysis agents (unless otherwise stated in the migration guide). You can run a newer version of the dashboard with an older version of the analysis agent; however, the reverse is not guaranteed.