How To Install Umockdev-run In Debian, Ubuntu, Arch, Kali, Fedora And Raspbian?

How To Install Umockdev-run In Debian, Ubuntu, Arch, Kali, Fedora And Raspbian?

umockdev-run

record/mock hardware devices for bug reports and regression tests

Maintainer: Martin Pitt



Section: devel

Install umockdev-run

  • Debian apt-get install umockdev Click to copy
  • Ubuntu apt-get install umockdev Click to copy
  • Arch Linux pacman -S umockdev Click to copy
  • Kali Linux apt-get install umockdev Click to copy
  • Fedora dnf install umockdev Click to copy
  • Raspbian apt-get install umockdev Click to copy

umockdev

record/mock hardware devices for bug reports and regression tests

umockdev mocks hardware devices for creating unit tests for libraries and programs that handle Linux hardware devices. This package provides tools to record the properties and behaviour of particular devices, and to run a program or test suite under a test bed with the previously recorded devices loaded. Right now this covers sysfs, uevents, basic support for /dev devices, and recording/mocking usbdevfs ioctls (for PtP/MTP devices). With this you can simulate particular hardware in virtual environments up to some degree, without needing any particular privileges or disturbing the whole system.

Installing umockdev-run command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Arch, Kali, Fedora and Raspbian operating systems. Once you run the command it will install the latest version of umockdev-run 2026 package in your OS.