macOS
brew install umockdevlocal Homebrew formula metadata
brew / Rang 15694
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für umockdev in AI-Agent-Workflows.
Installation
brew install umockdevlocal Homebrew formula metadata
sudo apk add umockdevAlpine Linux edge package indexes · umockdev · Quelle: dl-cdn.alpinelinux.org
sudo apt install umockdevDebian stable package indexes · umockdev · Quelle: deb.debian.org
sudo dnf install umockdevFedora Rawhide package metadata · umockdev · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#umockdevnixpkgs package indexes · pkgs/by-name/um/umockdev/package.nix · Quelle: api.github.com
sudo pacman -S umockdevArch Linux sync databases · umockdev · Quelle: geo.mirror.pkgbuild.com
sudo zypper install umockdevopenSUSE Tumbleweed package metadata · umockdev · Quelle: download.opensuse.org
Überblick
Mock hardware devices for creating unit tests and bug reporting
Verlauf
umockdev is a Linux hardware-device mocking library and set of command-line tools for integration tests, bug reports, and regression reproduction.
The official README describes umockdev as a way to mock Linux devices for tests of hardware-related libraries and programs. It records device properties and behavior, then runs programs or test suites against a testbed loaded with those recorded devices.
The project is built around libumockdev, a preload library, and CLI tools including umockdev-record, umockdev-run, and umockdev-wrapper. Its feature set expanded from sysfs/udev property emulation into /dev nodes, read/write scripts, usbdevfs replay, pcap/usbmon replay, evdev, spidev, input events, and /proc mocking.
Official tags show releases by 2013, and the NEWS file documents long-running maintenance, including a 2020 switch to Meson and later fixes and feature updates. That history matches a specialized but durable Linux testing utility rather than a broad application.
umockdev's adoption is strongest in Linux hardware-adjacent testing. The README explicitly names gphoto and libmtp as examples where developers can receive recorded device dumps in bug reports and reproduce problems without owning the affected hardware.
The Homebrew input records downstream packaging across apk, Homebrew, Debian/Ubuntu gir/lib packages, dnf, Nix, pacman, and zypper. That breadth is notable because the tool remains Linux-specific and test-focused; package managers carry it for developers and CI systems that need reproducible hardware behavior.
Typical command-line use records a real device with umockdev-record, then replays it with umockdev-run around a test command. The README includes examples for PtP/MTP USB devices, usbmon pcap captures, tty devices such as modem sticks, Unix sockets, fake batteries, /proc, and /dev.
Library users create a UMockdevTestbed through C, Vala, Python, JavaScript, or other GObject-introspection languages, while the preload layer redirects /sys, /dev, /proc, netlink, and ioctl access into the sandbox.
umockdev is important to package maintainers because it turns hardware-dependent bugs into text artifacts that can be checked into tests or attached to bug reports. That makes CI and distro regression testing possible for code that would otherwise require physical devices.
It is also a classic niche systems package: small executable tools, a shared library, introspection bindings, preload behavior, and distro-specific packaging names that matter to anyone debugging Linux hardware stacks.
Sicherheitslage
broad file, network, media, or database tool signal.
blue Risiko · mittel Konfidenz · tool
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
umockdev-record | Executable | indexiertes Executable | Aus dem lokalen Executable-Index erkannt. |
umockdev-run | Executable | indexiertes Executable | Aus dem lokalen Executable-Index erkannt. |
umockdev-wrapper | Executable | indexiertes Executable | Aus dem lokalen Executable-Index erkannt. |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:umockdev |
|---|---|
| Version | 0.19.8 |
| Paketmanager | Homebrew |
| Homepage | https://launchpad.net/umockdev |
| Repository | https://github.com/martinpitt/umockdev |
| Zuletzt aktualisiert | 2026-07-06T10:19:20Z |
| Pulse | updated |
| Bottle | nicht erfasst |
| Dienst | keiner deklariert |
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
gir1.2-umockdev-1.0 0.19.1-3
introspection data for umockdev library
https://github.com/martinpitt/umockdev/
sudo apt install gir1.2-umockdev-1.0libumockdev-dev 0.19.1-3
development files and documentation for libumockdev
https://github.com/martinpitt/umockdev/
sudo apt install libumockdev-devlibumockdev0 0.19.1-3
hardware mocking testbed for bug reports and regression tests
https://github.com/martinpitt/umockdev/
sudo apt install libumockdev0umockdev 0.19.1-3
record/mock hardware devices for bug reports and regression tests
https://github.com/martinpitt/umockdev/
sudo apt install umockdevumockdev
nix profile install nixpkgs#umockdevgir1.2-umockdev-1.0 0.18.1-1build1
introspection data for umockdev library
https://github.com/martinpitt/umockdev/
sudo apt install gir1.2-umockdev-1.0libumockdev-dev 0.18.1-1build1
development files and documentation for libumockdev
https://github.com/martinpitt/umockdev/
sudo apt install libumockdev-devlibumockdev0 0.18.1-1build1
hardware mocking testbed for bug reports and regression tests
https://github.com/martinpitt/umockdev/
sudo apt install libumockdev0umockdev 0.18.1-1build1
record/mock hardware devices for bug reports and regression tests
https://github.com/martinpitt/umockdev/
sudo apt install umockdevumockdev 0.19.8-r0
Mock hardware devices for creating unit tests and bug reporting
https://github.com/martinpitt/umockdev
sudo apk add umockdevumockdev-dev 0.19.8-r0
Mock hardware devices for creating unit tests and bug reporting (development files)
https://github.com/martinpitt/umockdev
sudo apk add umockdev-devumockdev-doc 0.19.8-r0
Mock hardware devices for creating unit tests and bug reporting (documentation)
https://github.com/martinpitt/umockdev
sudo apk add umockdev-documockdev 0.19.8-2.fc45
Mock hardware devices
https://github.com/martinpitt/umockdev
sudo dnf install umockdevumockdev-devel 0.19.8-2.fc45
Development packages for umockdev
https://github.com/martinpitt/umockdev
sudo dnf install umockdev-develumockdev 0.19.8-1
Record/mock hardware devices for bug reports and regression tests
https://github.com/martinpitt/umockdev/
sudo pacman -S umockdevlibumockdev-preload0 0.19.7-1.4
Shared library for umockdev-preload
https://github.com/martinpitt/umockdev/
sudo zypper install libumockdev-preload0Quellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.