Contents
Tools
GCC
Subversion
Cmake
Doxygen
GraphViz
- optional
- Version: >=2.26.3
External libraries
Boost (devel)
OpenCV (devel)
Qt (devel)
- Version: >=4.6 (>=4.7 is recommended)
- Be sure that your Qt Version includes the Qt WebKit library (needed by mirapackage)
- MIRA can work with either Qt4 or Qt5. In general, detection of the available Qt version is done by cmake automatically. If both versions are found, it defaults to Qt5, but use of Qt4 can be enforced (by setting the FORCE_USE_QT4 switch to ON in make/GlobalConfig.cmake).
Ogre (devel)
SQLite (devel)
libxml2 (devel)
zlib (devel)
openssl (devel)
freetype (devel)
subversion (devel)
qwt (devel)
- optional (visualizing data in a 2d plot view will not be available if not installed)
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:
- yum install gcc-c++ cmake patch subversion-devel doxygen binutils-devel libxml2-devel zlib-devel openssl-devel sqlite-devel boost-* ogre-devel opencv-devel libcurl-devel procps-ng-devel
To use with Qt4:
- yum install qt-devel qt-doc qt-webkit-devel qwt-devel
To use with Qt5:
- yum install qt5-*-devel qwt-qt5-devel
CentOS 8 / Oracle-Linux 8
Activate the MetraLabs RPM repository for CentOS-8, 64bit:
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:
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 newer
- sudo apt-get install g++ cmake subversion doxygen libxml2-dev libssl-dev libsqlite3-dev libboost-all-dev libogre-1.9-dev libsvn-dev libopencv-dev binutils-dev libiberty-dev libcurl4-gnutls-dev libprocps-dev
To use with Qt4:
- sudo apt-get install qt4-dev-tools libqt4-dev libqt4-opengl-dev libqtwebkit-dev libqwt5-qt4-dev
To use with Qt5:
- sudo apt-get install qt5-default libqwt-qt5-dev libqt5webkit5-dev libqwtmathml-qt5-dev libqt5opengl5-dev libqt5svg5-dev qt*5-dev qttools5-dev-tools git
(note: qt5-default has been removed from package sources with recent Ubuntu releases - apparently it is no longer needed as no alternate versions of Qt are supported. If this package does not exist, it can just be omitted, all the required dependencies are pulled in by the other Qt packages named here.)
Ubuntu 24.04 LTS and any newer releases
- sudo apt-get install g++ cmake subversion doxygen libxml2-dev libssl-dev libsqlite3-dev libboost-all-dev libogre-1.9-dev libsvn-dev libopencv-dev binutils-dev libiberty-dev libcurl4-gnutls-dev libproc2-dev
To use with Qt5: see above
For a list of other and older supported distributions, please look here: Installation of Requirements for Older Linux Distributions