Installation of AGX Dynamics (Ubuntu Linux)¶
This section explains how to install AGX Dynamics for Ubuntu.
Package Installation¶
Please download the deb package from the AGX Dynamics download site. Here we introduce an example of installing AGX Dynamics version 2.30.4.0 on Ubuntu 20.04.
First, install the downloaded deb file using the dpkg command.
dpkg -i agx-2.30.4.0-amd64-ubuntu_20.04.deb
However, the dpkg command does not resolve dependencies on other packages. To resolve dependencies, you can use the following methods:
Double-click the deb file from the file manager and install using the displayed GUI tool
Install using the gdebi command
Method 1 is convenient, but some deb files may not be installable this way.
For method 2, do the following:
sudo apt install gdebi-core
sudo gdebi agx-2.30.4.0-amd64-ubuntu_20.04.deb
Upon successful installation, it will be installed in the /opt/Algoryx/AGX-<version> directory.
License Installation¶
Next, place the AGX execution license file (agx.lic) in the installation directory to enable execution of AGX Dynamics.
Loading Environment Settings¶
Finally, load the AGX environment variable settings. This can be achieved by executing “setup_env.bash” in the AGX directory.
Usually, add the following line to the .bashrc file in your home directory:
source /opt/Algoryx/AGX-2.30.4.0/setup_env.bash
Replace the directory “AGX-2.30.4.0” part with the version of AGX you are actually using.
With this setting, terminals launched thereafter will have the AGX environment settings applied.