The OpenModelica Linux released software is classified according to the table below:

  • contains only validated new features
  • interfaces shall remain stable, changes only in case of critical issues
  • intended for productive usage
Stable (Alphas/
  • contains new features to be part of the next release and are to be validated (in the beta phase)
  • interfaces may have changed but shall remain stable during beta phase, changes are accepted only to fix critical issues
  • intended to prepare a mature release, enable integration tests of partners, not productive usage
  • also contains commits to the maintenance branch before new releases are made
  • compiles and runs stable according to all regression tests
  • interfaces may have changed
  • intended to make the latest enhancements available for testers and developers, continuous integration, not for productive usage


Debian / Ubuntu Packages

We provide .deb packages compiled on Ubuntu and Debian: jessietrusty, xenial, yakkety (x86, amd64, and armv7). Source packages are also provided if your distribution is too old (or still not released yet) for the binary packages. Older distributions may not have all build dependencies used by omc, but can still be built. Some older distributions still have binary packages, but are no longer maintained. Note that armhf packages are only available for more recent versions of Ubuntu (and not Debian at all).

Add one of the following lines to the sources.list (or use your favourite GUI-based tool). The nightly build is generated automatically from the git sources (master branch); it will usually be working properly since all commits are checked against the test suite (status). The stable build follows the next release (maintenance branch of the upcoming release or if there is no beta of the upcoming release, it follows the release's maintenance branch and might get bugfixes before a new official version is released). The release builds only contain the latest released version of OpenModelica.

Use one of the following builds depending on your personal preference (if you are new to OpenModelica, we recommend using the nightly (or possibly, stable) build on your personal machine and the release for things like student labs in order to stay current and make sure models will still work in the next release; you can modify openmodelica.list later and uninstall+install other versions as well):

for deb in deb deb-src; do echo "$deb `lsb_release -cs` nightly"; done | sudo tee /etc/apt/sources.list.d/openmodelica.list
for deb in deb deb-src; do echo "$deb `lsb_release -cs` stable"; done | sudo tee /etc/apt/sources.list.d/openmodelica.list
for deb in deb deb-src; do echo "$deb `lsb_release -cs` release"; done | sudo tee /etc/apt/sources.list.d/openmodelica.list

You will also need to import the GPG key used to sign the releases:

wget -q -O- | sudo apt-key add - 
# To verify that your key is installed correctly
apt-key fingerprint
# Gives output:
# pub 2048R/64970947 2010-06-22 # Key fingerprint = D229 AF1C E5AE D74E 5F59 DF30 3A59 B536 6497 0947 # uid OpenModelica Build System

Then update and install OpenModelica

sudo apt update
sudo apt install openmodelica
sudo apt install omlib-.* # Installs optional Modelica libraries (most have not been tested with OpenModelica)


Installing older releases or using a specific OpenModelica version

Older releases are stored for some stable Debian/Ubuntu versions along with the libraries that existed at the time of the release. You can find the releases at and newer versions of libraries at Starting with OpenModelica 1.9.4 you can use apt to download the packages using a deb-line such as the one below; make sure all existing OpenModelica packages have been uninstalled (so you do not end up with mismatching versions of dependencies):



Downloading source code from repository


If your platform is too old for the pre-built packages, you can install them from any of the source repositories:

sudo apt install devscripts debhelper
mkdir ~/tmp
cd ~/tmp
sudo apt build-dep openmodelica sudo apt install libsundials-kinsol1 libqtwebkit-dev # Might be needed depending on platform
apt -b source openmodelica
sudo dpkg -i *.deb

Virtual Machine Image

If you do not have a Debian-based distribution and do not want to try the RPM packages or building from source code, there is also a pre-built virtual machine image available.

RPM packages

There are yum repositories (to be downloaded to /etc/yum.repos.d/) available for CentOS/RHEL/Fedora

Note that CentOS/RHEL requires the EPEL (all version) and devtoolset (CentOS/RHEL 6 only) repositories enabled (see the linked repo files for details). Devtoolset includes C++11 compilers (not available in the GCC 4.4 shipped in the 2010 OS). EPEL includes the omniORB libraries (needed for OMPython and other OpenModelica clients). Only Fedora supports 3D visualization (it includes OpenSceneGraph in the repositories).

Once the repository has been enabled in the OS, use sudo yum install openmodelica-1.9 openmodelica-1.11 openmodelica-1.12 openmodelica-nightly. (Fedora users can skip installing the suggested Modelica libraries.) It is possible to select if /usr/bin/omc (and OMEdit, etc) should point to a different OpenModelica version using sudo alternatives --config openmodelica. You can also use commands like omc-1.12 or /opt/openmodelica-1.12/bin/omc directly if you to try your model uising a particular OpenModelica version.


Source Code

If you can't use deb packages at all, we recommended installing OpenModelica from source code.

If you have any questions about the installation, feel free to ask either Martin or the bug tracker.

OpenModelica includes SystemDynamics library with World modeling. Instructions for systemdynamics World3 simulations.

Instructions updated 2016-02-09

Please consider supporting our efforts.


You are here: