Pre-built Binaries
Pre-built binaries are provided for the following distributions. Please be aware that their versions may not always match the latest SRM release.
Manual Building
SRM depends on the following libraries:
- libudev >= 249
- libdrm >= 2.4.113
- gbm >= 23.2.1
- egl >= 1.5
- gl >= 1.2
- glesv2 >= 3.2
- hwinfo
- libdisplay-info
The srm-multi-session example also require:
- libseat >= 0.6.4
- libinput >= 1.20.0
Debian (Ubuntu, Linux Mint, etc)
To build SRM from a Debian based distribution please install the following packages:
$ sudo apt install build-essential meson libseat-dev libinput-dev libudev-dev libdrm-dev libgbm-dev libegl1-mesa-dev libgles2-mesa-dev hwinfo libdisplay-info-dev
Next, execute the following commands:
$ git clone https://github.com/CuarzoSoftware/SRM.git
$ cd SRM/src
$ meson setup build
$ cd build
$ meson install
$ sudo ldconfig
To ensure that everything is functioning correctly, you can test one of the available examples.
RedHat (Fedora, CentOS, openSUSE, etc)
To build SRM from a RedHat based distribution please install the following packages:
$ sudo dnf install @development-tools
$ sudo dnf install meson hwinfo libseat-devel mesa-libEGL-devel libglvnd-devel libudev-devel libdrm-devel libgbm-devel libdisplay-info-devel libinput-devel
Next, execute the following commands:
$ git clone https://github.com/CuarzoSoftware/SRM.git
$ cd SRM/src
$ meson setup build
$ cd build
$ meson install
$ sudo ldconfig
To ensure that everything is functioning correctly, you can test one of the available examples.