pkg.soopen package index

brew / 排名 15779

使用 Homebrew, apk, apt, dnf, Nix, pacman, zypper 安装 umockdev

查看 umockdev 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install umockdev

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add umockdev

Alpine Linux edge package indexes · umockdev · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install umockdev

Debian stable package indexes · umockdev · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install umockdev

Fedora Rawhide package metadata · umockdev · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#umockdev

nixpkgs package indexes · pkgs/by-name/um/umockdev/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S umockdev

Arch Linux sync databases · umockdev · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install umockdev

openSUSE Tumbleweed package metadata · umockdev · 来源: download.opensuse.org

概览

软件包摘要

Mock hardware devices for creating unit tests and bug reporting

命令和别名

  • umockdev-record
  • umockdev-run
  • umockdev-wrapper

历史

项目历史与用法

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.

时间线

  • 2013: Official repository tag 0.2.4 is associated with a June 2013 release commit.
  • 2020-11-16: NEWS records the switch to the Meson build system in release 0.15.
  • README era: Project documents record/replay support for sysfs, udev, /dev, USB, evdev, spidev, /proc, and socket/device scripts.
  • Current packaging: Homebrew input lists apk, Homebrew, Debian/Ubuntu, dnf, Nix, pacman, and zypper package coverage.

Related projects

  • The README names gphoto and libmtp as affected software examples and uses upower, ModemManager, ofonod, evemu, usbmon, Wireshark, PtP/MTP, and GObject-introspection ecosystems in its examples.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:record

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 2 个平台目标。
  • 安装时包含 3 个运行时依赖。
  • 构建元数据列出 5 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
umockdev-recordcli全局可执行文件
umockdev-runcli全局可执行文件
umockdev-wrappercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-04
管理器版本0.19.8
管理器更新时间2026-07-06
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/martinpitt/umockdev

安装元数据

软件包元数据

软件包键brew:umockdev
版本0.19.8
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/umockdev
主页https://launchpad.net/umockdev
仓库https://github.com/martinpitt/umockdev
上游文档https://launchpad.net/umockdev
许可证LGPL-2.1-or-later
源码归档https://github.com/martinpitt/umockdev/releases/download/0.19.8/umockdev-0.19.8.tar.xz
最后更新2026-07-06T10:19:20Z
Pulseupdated
依赖glib, libpcap, systemd
构建依赖gobject-introspection, meson, ninja, pkgconf, vala
Bottle可用 (于 arm64_linux, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameumockdev
Version Scheme0
Revision0
Head VersionHEAD
Requirements
  • linux
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

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.0
  • Section: introspection
  • Architecture: amd64
  • Source Package: umockdev
  • 2 依赖
  • normalized package name match
  • 匹配方式:Umockdev
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gir1.2-umockdev-1.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libumockdev-dev 0.19.1-3

development files and documentation for libumockdev

https://github.com/martinpitt/umockdev/

sudo apt install libumockdev-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: umockdev
  • 3 依赖
  • normalized package name match
  • 匹配方式:Umockdev
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libumockdev-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libumockdev0 0.19.1-3

hardware mocking testbed for bug reports and regression tests

https://github.com/martinpitt/umockdev/

sudo apt install libumockdev0
  • Section: libs
  • Architecture: amd64
  • Source Package: umockdev
  • 5 依赖
  • normalized package name match
  • 匹配方式:Umockdev
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libumockdev0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

umockdev 0.19.1-3

record/mock hardware devices for bug reports and regression tests

https://github.com/martinpitt/umockdev/

sudo apt install umockdev
  • Section: devel
  • Architecture: amd64
  • 5 依赖
  • normalized package name match
  • 匹配方式:Umockdev
Debian stable package indexes · deb.debian.org · Debian stable package indexes: umockdev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

umockdev

nix profile install nixpkgs#umockdev
  • normalized package name match
  • 匹配方式:Umockdev
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/um/umockdev/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gir1.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.0
  • Section: universe/introspection
  • Architecture: amd64
  • Source Package: umockdev
  • 2 依赖
  • normalized package name match
  • 匹配方式:Umockdev
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gir1.2-umockdev-1.0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libumockdev-dev 0.18.1-1build1

development files and documentation for libumockdev

https://github.com/martinpitt/umockdev/

sudo apt install libumockdev-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: umockdev
  • 3 依赖
  • normalized package name match
  • 匹配方式:Umockdev
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libumockdev-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libumockdev0 0.18.1-1build1

hardware mocking testbed for bug reports and regression tests

https://github.com/martinpitt/umockdev/

sudo apt install libumockdev0
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: umockdev
  • 5 依赖
  • normalized package name match
  • 匹配方式:Umockdev
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libumockdev0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

umockdev 0.18.1-1build1

record/mock hardware devices for bug reports and regression tests

https://github.com/martinpitt/umockdev/

sudo apt install umockdev
  • Section: universe/devel
  • Architecture: amd64
  • 5 依赖
  • normalized package name match
  • 匹配方式:Umockdev
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: umockdev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

umockdev 0.19.8-r0

Mock hardware devices for creating unit tests and bug reporting

https://github.com/martinpitt/umockdev

sudo apk add umockdev
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: umockdev
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Umockdev
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: umockdev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

umockdev-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-dev
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: umockdev
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Umockdev
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: umockdev-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

umockdev-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-doc
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: umockdev
  • normalized package name match
  • 匹配方式:Umockdev
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: umockdev-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

umockdev 0.19.8-2.fc45

Mock hardware devices

https://github.com/martinpitt/umockdev

sudo dnf install umockdev
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: umockdev
  • 9 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Umockdev
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: umockdev from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst
dnf95%

umockdev-devel 0.19.8-2.fc45

Development packages for umockdev

https://github.com/martinpitt/umockdev

sudo dnf install umockdev-devel
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: umockdev
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Umockdev
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: umockdev-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst
pacman95%

umockdev 0.19.8-1

Record/mock hardware devices for bug reports and regression tests

https://github.com/martinpitt/umockdev/

sudo pacman -S umockdev
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Umockdev
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: umockdev from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libumockdev-preload0 0.19.7-1.4

Shared library for umockdev-preload

https://github.com/martinpitt/umockdev/

sudo zypper install libumockdev-preload0
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: umockdev
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Umockdev
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libumockdev-preload0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation