macOS
brew install umockdevlocal Homebrew formula metadata
brew / 順位 15694
umockdev のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install umockdevlocal Homebrew formula metadata
sudo apk add umockdevAlpine Linux edge package indexes · umockdev · ソース: dl-cdn.alpinelinux.org
sudo apt install umockdevDebian stable package indexes · umockdev · ソース: deb.debian.org
sudo dnf install umockdevFedora Rawhide package metadata · umockdev · ソース: dl.fedoraproject.org
nix profile install nixpkgs#umockdevnixpkgs package indexes · pkgs/by-name/um/umockdev/package.nix · ソース: api.github.com
sudo pacman -S umockdevArch Linux sync databases · umockdev · ソース: geo.mirror.pkgbuild.com
sudo zypper install umockdevopenSUSE Tumbleweed package metadata · umockdev · ソース: download.opensuse.org
概要
Mock hardware devices for creating unit tests and bug reporting
履歴
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.
セキュリティ状態
broad file, network, media, or database tool signal.
リスク blue · 信頼度 中 · tool
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
umockdev-record | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
umockdev-run | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
umockdev-wrapper | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:umockdev |
|---|---|
| バージョン | 0.19.8 |
| パッケージマネージャ | Homebrew |
| ホームページ | https://launchpad.net/umockdev |
| リポジトリ | https://github.com/martinpitt/umockdev |
| 最終更新 | 2026-07-06T10:19:20Z |
| Pulse | updated |
| Bottle | 未記録 |
| サービス | 宣言なし |
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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-preload0ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.