macOS
brew install libgusblocal Homebrew formula metadata
brew
GObject wrappers for libusb1. Version 0.4.9 via Homebrew; verified from local package data.
install
brew install libgusblocal Homebrew formula metadata
sudo apk add libgusbAlpine Linux edge package indexes · libgusb · source: dl-cdn.alpinelinux.org
sudo apt install gir1.2-gusb-1.0Debian stable package indexes · gir1.2-gusb-1.0 · source: deb.debian.org
sudo dnf install libgusbFedora Rawhide package metadata · libgusb · source: dl.fedoraproject.org
sudo pacman -S libgusbArch Linux sync databases · libgusb · source: geo.mirror.pkgbuild.com
sudo zypper install libgusb-developenSUSE Tumbleweed package metadata · libgusb-devel · source: download.opensuse.org
overview
GObject wrappers for libusb1
history
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.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
gusbcmd | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/hughsie/libgusb
install metadata
| Package key | brew:libgusb |
|---|---|
| Version | 0.4.9 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libgusb |
| Homepage | https://github.com/hughsie/libgusb |
| Repository | https://github.com/hughsie/libgusb |
| Upstream docs | https://github.com/hughsie/libgusb#readme |
| License | LGPL-2.1-or-later |
| Source archive | https://github.com/hughsie/libgusb/archive/refs/tags/0.4.9.tar.gz |
| Dependencies | glib, json-glib, libusb, python@3.14, usb.ids |
| Build dependencies | gobject-introspection, meson, ninja, pkgconf, python-setuptools, vala |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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 libgusb2source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.