Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, pacman, zypper 安装 libgusb

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libgusb

local Homebrew formula metadata

Linux

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

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

Debian apt已验证 · 92%
sudo apt install gir1.2-gusb-1.0

Debian stable package indexes · gir1.2-gusb-1.0 · 来源: deb.debian.org

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

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

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

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

openSUSE zypper已验证 · 92%
sudo zypper install libgusb-devel

openSUSE Tumbleweed package metadata · libgusb-devel · 来源: download.opensuse.org

概览

软件包摘要

GObject wrappers for libusb1

命令和别名

  • gusbcmd

历史

项目历史与用法

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.

时间线

  • 2021-03-12: Version 0.3.6 added string-descriptor byte APIs and Darwin dylib fixes.
  • 2022-09-12: Version 0.4.0 added JSON serialization and device emulation support.
  • 2022-10-01: Version 0.4.1 ported documentation from gtk-doc to gi-docgen.
  • 2024-04-22: Version 0.4.9 fixed HID descriptor, libusb handle, and emulator issues.

Related projects

  • libusb1 is the low-level USB library wrapped by GUsb.
  • GLib, GObject, and GIO provide the application framework integration targeted by GUsb.
  • GObject Introspection packages expose GUsb to language bindings in distributions such as Debian and Ubuntu.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gusbcmdcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-08
管理器版本0.4.9
管理器更新时间
本地数据OK
上游当前
检测到的最新版本0.4.9

https://github.com/hughsie/libgusb

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibgusb
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

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

libgusb-dev 0.4.9-1+b1

GLib wrapper around libusb1 - development files

https://github.com/hughsie/libgusb

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

libgusb-doc 0.4.9-1

GLib wrapper around libusb1 - documentation

https://github.com/hughsie/libgusb

sudo apt install libgusb-doc
  • Section: doc
  • Architecture: all
  • Source Package: libgusb
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libgusb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgusb-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgusb2 0.4.9-1+b1

GLib wrapper around libusb1

https://github.com/hughsie/libgusb

sudo apt install libgusb2
  • Section: libs
  • Architecture: amd64
  • Source Package: libgusb
  • 4 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libgusb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgusb2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

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

libgusb-dev 0.4.8-1build2

GLib wrapper around libusb1 - development files

https://github.com/hughsie/libgusb

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

libgusb-doc 0.4.8-1build2

GLib wrapper around libusb1 - documentation

https://github.com/hughsie/libgusb

sudo apt install libgusb-doc
  • Section: doc
  • Architecture: all
  • Source Package: libgusb
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libgusb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgusb-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libgusb2 0.4.8-1build2

GLib wrapper around libusb1

https://github.com/hughsie/libgusb

sudo apt install libgusb2
  • Section: libs
  • Architecture: amd64
  • Source Package: libgusb
  • 4 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libgusb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgusb2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

libgusb 0.4.9-r1

GLib wrapper around libusb

https://github.com/hughsie/libgusb

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

libgusb-dev 0.4.9-r1

GLib wrapper around libusb (development files)

https://github.com/hughsie/libgusb

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

libgusb-utils 0.4.9-r1

GLib wrapper around libusb (utils)

https://github.com/hughsie/libgusb

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

libgusb 0.4.9-5.fc44

GLib wrapper around libusb1

https://github.com/hughsie/libgusb

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

libgusb-devel 0.4.9-5.fc44

Libraries and headers for gusb

https://github.com/hughsie/libgusb

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

libgusb 0.4.9-2

GObject wrapper for libusb1

https://github.com/hughsie/libgusb

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

libgusb-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-devel
  • License: LGPL-2.1-or-later
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: libgusb
  • 10 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libgusb
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libgusb-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libgusb2 0.4.9-1.6

GObject-based library for libusb1

https://github.com/hughsie/libgusb

sudo zypper install libgusb2
  • License: LGPL-2.1-or-later
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: libgusb
  • 7 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libgusb
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libgusb2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

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

使用的来源

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