MIRA
Requirements for Linux Distributions


Contents


Tools

GCC

Subversion

Cmake

Doxygen

GraphViz


External libraries

Boost (devel)

OpenCV (devel)

Qt (devel)

Ogre (devel)

SQLite (devel)

libxml2 (devel)

zlib (devel)

openssl (devel)

freetype (devel)

subversion (devel)

qwt (devel)

curl (devel)

procps (devel)


Installation of Requirements on Redhat / CentOS / Oracle-Linux

CentOS 7

Install gcc-9:

yum install centos-release-scl
yum install devtoolset-9
scl enable devtoolset-9 bash

Activate the MetraLabs RPM repository:

Install the following packages:

To use with Qt4:

To use with Qt5:

CentOS 8 / Oracle-Linux 8

Activate the MetraLabs RPM repository for CentOS-8, 64bit:

dnf install http://metralabs-service.com/downloads/SCITOS/redhat/el8/x86_64/MetraLabs-release-8-0.noarch.rpm

Important note: Due to the hardened gcc-8 in the default installation of CentOS-8, the compiler is not able to use pre-compiled headers (https://bugzilla.redhat.com/show_bug.cgi?id=1806545). Therefore, we strongly recommend to use GCC version 9 from the "GCC Toolset 9" (see here: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/developing_c_and_cpp_applications_in_rhel_8/gcc-toolset-9_toolsets) using the following commands:

dnf install gcc-toolset-9
scl enable gcc-toolset-9 bash

Repository configuration CentOS-8

Furthermore, the repositories EPEL and PowerTools must be enabled:

dnf config-manager --enable epel
dnf config-manager --enable epel-playground
dnf config-manager --enable powertools

Repository configuration OracleLinux-8

dnf config-manager --set-disabled ol8_developer_EPEL
dnf remove oracle-epel-release-el8
dnf config-manager --set-enabled ol8_codeready_builder
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

Required packages

Install the following packages:

dnf install gcc-c++ cmake patch subversion-devel doxygen git
dnf install binutils-devel libxml2-devel zlib-devel openssl-devel sqlite-devel boost-* ogre-devel opencv-devel libcurl-devel procps-ng-devel
dnf install qt5-*-devel qwt-qt5-devel

Installation of Requirements on Ubuntu-based systems

Ubuntu 18.04 LTS / Mint 19 and any newer releases

To use with Qt4:

To use with Qt5:


For a list of other and older supported distributions, please look here: Installation of Requirements for Older Linux Distributions