This post looks at installing Dymola on Ubuntu for users that are not experienced with Linux. The installation process is described in the documentation however this can be daunting for Linux novices so a step by step process is provided.
There are some things that this post assumes the user has:
- The Ubuntu operating system installed on a machine or Virtual machine
- The Dymola Linux installation files, these can be obtained from your Dymola distributor
Note that the Dymola License Server will not run on a Virtual machine, a node locked license will be required.
This post looks at installing Dymola 2021x, so commands will be tailored for this. If installing a different Dymola version change the commands appropriately.
Expanding the installation file
So after downloading the installation file you should have a file similar to the file in Figure 1 in the Downloads directory.
Right click on this and select Extract Here. The installation instructions can be found at: ~/Downloads/Dymola_2021x_HF1.AM_CAT_Dymola.Linux64.1-1/AM_CAT_Dymola.Linux64/1/Installation.pdf
This can be used for further installation details.
Installing RPM packages in Ubuntu
The installation files are RPM packages; however, Ubuntu cannot install RPM packages so these packages have to be converted to deb files. To do this conversion, the alien command is used. The article how-to-install-rpm-packages-on-ubuntu describes this situation well; use these instructions to install the alien package (i.e. until Step 3. in the article).
The RPM packages to be installed are in ~/Downloads/Dymola_2021x_HF1.AM_CAT_Dymola.Linux64.1-1/AM_CAT_Dymola.Linux64/1/linux_x86_64.
- Open a Terminal by pressing Ctrl+Alt+T.
- Change directory to ~/Downloads/Dymola_2021x_HF1.AM_CAT_Dymola.Linux64.1-1/AM_CAT_Dymola.Linux64/1/linux_x86_64
- Run the alien command to convert the RPM packages to deb packages.
Below are the instructions used to convert the base Dymola package to a deb package.
$ cd ~/Downloads/Dymola_2021x_HF1.AM_CAT_Dymola.Linux64.1-1/AM_CAT_Dymola.Linux64/1/linux_x86_64
$ sudo alie