Skip to content

Vagrantfile and playbook for installation of Dymola on Ubuntu from scratch using Vagrant

Notifications You must be signed in to change notification settings

UdSAES/vagrant-ubuntu-dymola

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

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.

Installation

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

Usage

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.

Installation Script

./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

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 of playbook.yaml.

License

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.


1. This is just my personal observation. The sample size is insufficient for drawing reliable conclusions.

About

Vagrantfile and playbook for installation of Dymola on Ubuntu from scratch using Vagrant

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published