OpenSUSE

Supported Releases

This chapter provides additional information for installing OMNeT++ on openSUSE installations. The overall installation procedure is described in the Linux chapter.

The following openSUSE release is supported:

  • openSUSE Leap 15.4+

It was tested on the following architectures:

  • Intel 64-bit

Installing the Prerequisite Packages

First, install the core development tools and libraries:

$ sudo zypper install -y make ccache clang lld lldb gdb bison gawk flex perl \
    python311-devel python311-pip libxml2-devel zlib-devel doxygen graphviz \
    xdg-utils libdw-devel

Next, install packages for the graphical environment (Qtenv and IDE). If you do not need GUI support (e.g., for a server installation), you can skip this step and later configure OMNeT++ with WITH_QTENV=no and WITH_OSG=no.

$ sudo zypper install -y qt6-base-devel qt6-wayland libQt6Svg6 libwebkit2gtk-4_1-0

For 3D visualization support in Qtenv, install the OpenSceneGraph development packages. If you do not need 3D support, you can skip this step and later configure OMNeT++ with WITH_OSG=no.

$ sudo zypper install -y libOpenSceneGraph-devel OpenSceneGraph-plugins

After installing system packages, it’s good practice to clean the local repository of retrieved package files:

$ sudo zypper clean

Next, set up a Python virtual environment for OMNeT++. In the root directory of your OMNeT++ download:

$ python311 -m venv .venv --upgrade-deps --clear --prompt "omnetpp/.venv"
$ source .venv/bin/activate

Then, install the required Python packages into the virtual environment:

$ python311 -m pip install -r python/requirements.txt

Note

The commands above install Clang as the C++ compiler and LLD as the linker. If you prefer to use GCC and the system’s default linker, you can adjust the package list accordingly (e.g., replace clang with g++ and omit lld) and set the PREFER_CLANG=no and PREFER_LLD=no options in the configure.user file or during the ./configure step. If you skip the GUI or 3D packages, remember to disable the corresponding features (WITH_QTENV=no, WITH_OSG=no) in configure.user or during the ./configure step.

To enable the optional parallel simulation support you will need to install the MPI package:

$ sudo zypper install openmpi-devel

Note that openmpi will not be available by default, first you need to log out and log in again, or source your .profile script:

$ . ~/.profile