Linux
Supported versions and compilers
Dymola is only supported as a 64-bit application on Linux.
Dymola is distributed as an RPM package. For installation on Debian or Kubuntu systems conversion is required using the alien command
alien -i -k installationfile.rpm
The default directory for installation on Linux is /opt/dymola-<version>-x86_64. As an example, the default directory for installation of 64-bit Dymola 2021 on Linux is /opt/dymola-2021-x86_64 (the package manager on the target system however typically allows choosing another default location).
On Linux systems the default compiler is used. The compilation is controlled by the shell script insert/dsbuild.sh. Dymola 2021 runs on 64-bit Open SUSE Linux 42.2, with gcc version 5.3, and compatible systems. Any later version of gcc is typically compatible.
In addition to gcc, the model C code can also be compiled by clang. To change compiler, change the variable CC in e.g.
/opt/dymola-2021-x86_64/insert/dsbuild.sh
Notes
- 32-bit compilation might require explicit installation of 32-bit libc. E.g. on Ubuntu:
sudo apt-get install g++-multilib libc6-dev-i386
- Dymola is built with Qt 5.14.1 and thereby inherits the system requirements from Qt. However, several xcb helper libraries are bundled with Qt in order to reduce the system dependencies as much as possible. However, some libraries might still require explicit installation:
- libglu1-mesa
- libpng12-0
- For rendering of jpg files, libjpeg62 must be installed.
- For FMU export and import, the zip and unzip utilities must be installed.
Notes on libraries
- The library UserInteraction is not supported on Linux.
More Linux-specific notes are available using the command "man dymola".