Vagrantfile and playbook for installation of Dymola on Ubuntu from scratch using Vagrant
Dymola is a state-of-the-art commercial simulation environment for the modelling language Modelica. It is available for Windows and Linux operating systems from Dassault Systèmes.
Unfortunately, only a few Linux distributions are supported and installation on Linux rarely works out of the box.[1]
This repository provides a machine-readable documentation of all steps necessary to create a virtual machine running Dymola for Linux using Vagrant and VirtualBox.
Vagrant reads the desired configuration of a VM including all software packages to be installed from the files in this repository and ensures that the configuration is realized. In order for this to work, you need to…
-
Clone this repository
-
Install VirtualBox (version 6.1.18 works for me)
-
Install Vagrant (version 2.2.15 works for me)
-
Install Ansible (version 2.9.14 works for me)
-
Install the
vagrant-vbguest
-plugin (version 0.29.0 works for me) -
Copy the directory
linux_x86_64/
from the Dymola installation files into the folder in which you cloned the repository
TL;DR:
just execute ./install.sh
and wait for completion. Note that you will have to log into the VM once during installation when prompted.
./install.sh # read the script for details
The script assumes that the host OS is a Linux-variant. Running on Windows is not supported, but in this case you can just install Dymola natively anyway.
Configuration is not required, but possible. By default, a VM with 2 CPUs and 2048 MiB RAM is created. The default directories created by GNOME in /home/vagrant/
are removed and Dymola and the dassaultsystemes
-library are installed.
-
For configuring the VM (RAM, CPUs, …) edit the
Vagrantfile
. -
For all other settings, edit the
vars
-section at the top ofplaybook.yaml
.
The contents of this repository are placed in the public domain using the Unlicense (software) and the CC0-1.0-license (documentation), as indicated by the SPDX short-form identifiers at the top of each file. Find the license texts in ./LICENSES.