macOS
brew install libgusblocal Homebrew formula metadata
安装
brew install libgusblocal Homebrew formula metadata
sudo apk add libgusbAlpine Linux edge package indexes · libgusb · 来源: dl-cdn.alpinelinux.org
sudo apt install gir1.2-gusb-1.0Debian stable package indexes · gir1.2-gusb-1.0 · 来源: deb.debian.org
sudo dnf install libgusbFedora Rawhide package metadata · libgusb · 来源: dl.fedoraproject.org
sudo pacman -S libgusbArch Linux sync databases · libgusb · 来源: geo.mirror.pkgbuild.com
sudo zypper install libgusb-developenSUSE Tumbleweed package metadata · libgusb-devel · 来源: download.opensuse.org
概览
GObject wrappers for libusb1
历史
GUsb is a small GLib/GObject wrapper around libusb1, intended to make asynchronous USB transfers fit naturally into GLib main-loop applications and system daemons. It is package-nerd useful because it turns low-level USB plumbing into a library that GNOME-style C programs can consume without each one hand-rolling libusb integration.
The upstream README describes GUsb as a GObject wrapper for libusb1 with asynchronous control, bulk, and interrupt transfers, cancellation support, and main-loop integration. Its scope is intentionally narrower than libusb itself: not every libusb operation is wrapped, but the project accepts feature requests when the wrapper fits the library's purpose.
Release notes show the library moving beyond simple device access into testability and serialization work. Version 0.4.0, released on September 12, 2022, added BOS descriptor support, JSON serialization of GUsbDevice objects, and emulated USB-device replay. Version 0.4.9, released on April 22, 2024, focused on HID descriptor handling, handle cleanup, and emulator safety fixes.
GUsb is packaged broadly because GLib-based desktop and device-management software often needs USB access without depending directly on raw libusb callbacks. The batch input lists Alpine, Homebrew, Debian, Fedora, Arch, Ubuntu, and openSUSE package names, including GObject Introspection packages on Debian and Ubuntu.
Applications and daemons use GUsb to enumerate devices, perform asynchronous USB transfers, respond to hotplug events, and integrate those operations with GLib cancellation and event handling. The gusbcmd executable provides a small command-line surface for inspecting or exercising the library.
GUsb sits in the classic GNOME plumbing layer: it is not a user-facing app, but it lets firmware tools, hardware managers, and desktop services share one USB abstraction. The JSON and emulation additions in the 0.4 series also make it attractive for repeatable tests around hardware behavior.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gusbcmd | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/hughsie/libgusb
安装元数据
| 软件包键 | brew:libgusb |
|---|---|
| 版本 | 0.4.9 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/libgusb |
| 主页 | https://github.com/hughsie/libgusb |
| 仓库 | https://github.com/hughsie/libgusb |
| 上游文档 | https://github.com/hughsie/libgusb#readme |
| 许可证 | LGPL-2.1-or-later |
| 源码归档 | https://github.com/hughsie/libgusb/archive/refs/tags/0.4.9.tar.gz |
| 依赖 | glib, json-glib, libusb, python@3.14, usb.ids |
| 构建依赖 | gobject-introspection, meson, ninja, pkgconf, python-setuptools, vala |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libgusb |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
gir1.2-gusb-1.0 0.4.9-1+b1
GObject introspection data for libgusb
https://github.com/hughsie/libgusb
sudo apt install gir1.2-gusb-1.0libgusb-dev 0.4.9-1+b1
GLib wrapper around libusb1 - development files
https://github.com/hughsie/libgusb
sudo apt install libgusb-devlibgusb-doc 0.4.9-1
GLib wrapper around libusb1 - documentation
https://github.com/hughsie/libgusb
sudo apt install libgusb-doclibgusb2 0.4.9-1+b1
GLib wrapper around libusb1
https://github.com/hughsie/libgusb
sudo apt install libgusb2gir1.2-gusb-1.0 0.4.8-1build2
GObject introspection data for libgusb
https://github.com/hughsie/libgusb
sudo apt install gir1.2-gusb-1.0libgusb-dev 0.4.8-1build2
GLib wrapper around libusb1 - development files
https://github.com/hughsie/libgusb
sudo apt install libgusb-devlibgusb-doc 0.4.8-1build2
GLib wrapper around libusb1 - documentation
https://github.com/hughsie/libgusb
sudo apt install libgusb-doclibgusb2 0.4.8-1build2
GLib wrapper around libusb1
https://github.com/hughsie/libgusb
sudo apt install libgusb2libgusb 0.4.9-r1
GLib wrapper around libusb
https://github.com/hughsie/libgusb
sudo apk add libgusblibgusb-dev 0.4.9-r1
GLib wrapper around libusb (development files)
https://github.com/hughsie/libgusb
sudo apk add libgusb-devlibgusb-utils 0.4.9-r1
GLib wrapper around libusb (utils)
https://github.com/hughsie/libgusb
sudo apk add libgusb-utilslibgusb 0.4.9-5.fc44
GLib wrapper around libusb1
https://github.com/hughsie/libgusb
sudo dnf install libgusblibgusb-devel 0.4.9-5.fc44
Libraries and headers for gusb
https://github.com/hughsie/libgusb
sudo dnf install libgusb-devellibgusb 0.4.9-2
GObject wrapper for libusb1
https://github.com/hughsie/libgusb
sudo pacman -S libgusblibgusb-devel 0.4.9-1.6
Development files for libgusb, a GObject-based wrapper for libusb1
https://github.com/hughsie/libgusb
sudo zypper install libgusb-devellibgusb2 0.4.9-1.6
GObject-based library for libusb1
https://github.com/hughsie/libgusb
sudo zypper install libgusb2来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.