Automic VaultAutomic Vault

brew

Install libgusb with Homebrew, apk, apt, dnf, pacman, zypper

GObject wrappers for libusb1. Version 0.4.9 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libgusb

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add libgusb

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

Debian aptverified · 92%
sudo apt install gir1.2-gusb-1.0

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

Fedora dnfverified · 92%
sudo dnf install libgusb

Fedora Rawhide package metadata · libgusb · source: dl.fedoraproject.org

Arch Linux pacmanverified · 92%
sudo pacman -S libgusb

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

openSUSE zypperverified · 92%
sudo zypper install libgusb-devel

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

overview

Package summary

GObject wrappers for libusb1

Commands and aliases

  • gusbcmd

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 5 runtime dependencies.
  • Build metadata lists 6 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
gusbcmdcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.4.9
manager updated
local dataok
upstreamcurrent
latest detected0.4.9

https://github.com/hughsie/libgusb

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:libgusb
Version0.4.9
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libgusb
Homepagehttps://github.com/hughsie/libgusb
Repositoryhttps://github.com/hughsie/libgusb
Upstream docshttps://github.com/hughsie/libgusb#readme
LicenseLGPL-2.1-or-later
Source archivehttps://github.com/hughsie/libgusb/archive/refs/tags/0.4.9.tar.gz
Dependenciesglib, json-glib, libusb, python@3.14, usb.ids
Build dependenciesgobject-introspection, meson, ninja, pkgconf, python-setuptools, vala
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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