# Installer libgusb avec Homebrew, apk, dnf, pacman, apt, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de libgusb pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:libgusb
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install libgusb
```

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add libgusb
```

  Preuve: Alpine Linux edge package indexes: libgusb from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install libgusb
```

  Preuve: Fedora Rawhide package metadata: libgusb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S libgusb
```

  Preuve: Arch Linux sync databases: libgusb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install gir1.2-gusb-1.0
```

  Preuve: Debian stable package indexes: gir1.2-gusb-1.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install libgusb-devel
```

  Preuve: openSUSE Tumbleweed package metadata: libgusb-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:libgusb
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.4.9
- **Résumé source:** GObject wrappers for libusb1
- **Page d'accueil:** <https://github.com/hughsie/libgusb>
- **Dépôt:** <https://github.com/hughsie/libgusb>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- gusbcmd (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.4.9
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://formulae.brew.sh/formula/libgusb>
- <https://github.com/hughsie/libgusb>
- <https://raw.githubusercontent.com/hughsie/libgusb/main/NEWS>
- <https://raw.githubusercontent.com/hughsie/libgusb/main/README.md>
- <https://raw.githubusercontent.com/hughsie/libgusb/main/meson.build>


## Notes de sécurité

library-like package without higher-risk signals.

- **Risque Geiger:** vert / faible
- library-like package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Debian apt - gir1.2-gusb-1.0 - 0.4.9-1+b1: normalized package name match | Debian stable package indexes: gir1.2-gusb-1.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GObject introspection data for libgusb | https://github.com/hughsie/libgusb
- Debian apt - libgusb-dev - 0.4.9-1+b1: normalized package name match | Debian stable package indexes: libgusb-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GLib wrapper around libusb1 - development files | https://github.com/hughsie/libgusb
- Debian apt - libgusb-doc - 0.4.9-1: normalized package name match | Debian stable package indexes: libgusb-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GLib wrapper around libusb1 - documentation | https://github.com/hughsie/libgusb
- Debian apt - libgusb2 - 0.4.9-1+b1: normalized package name match | Debian stable package indexes: libgusb2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GLib wrapper around libusb1 | https://github.com/hughsie/libgusb
- Ubuntu apt - gir1.2-gusb-1.0 - 0.4.8-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: gir1.2-gusb-1.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GObject introspection data for libgusb | https://github.com/hughsie/libgusb
- Ubuntu apt - libgusb-dev - 0.4.8-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libgusb-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GLib wrapper around libusb1 - development files | https://github.com/hughsie/libgusb
- Ubuntu apt - libgusb-doc - 0.4.8-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libgusb-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GLib wrapper around libusb1 - documentation | https://github.com/hughsie/libgusb
- Ubuntu apt - libgusb2 - 0.4.8-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libgusb2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GLib wrapper around libusb1 | https://github.com/hughsie/libgusb
- apk - libgusb - 0.4.9-r1: normalized package name match | Alpine Linux edge package indexes: libgusb from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GLib wrapper around libusb | https://github.com/hughsie/libgusb
- apk - libgusb-dev - 0.4.9-r1: normalized package name match | Alpine Linux edge package indexes: libgusb-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GLib wrapper around libusb (development files) | https://github.com/hughsie/libgusb
- apk - libgusb-utils - 0.4.9-r1: normalized package name match | Alpine Linux edge package indexes: libgusb-utils from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GLib wrapper around libusb (utils) | https://github.com/hughsie/libgusb
- dnf - libgusb - 0.4.9-6.fc45: normalized package name match | Fedora Rawhide package metadata: libgusb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | GLib wrapper around libusb1 | https://github.com/hughsie/libgusb
- dnf - libgusb-devel - 0.4.9-6.fc45: normalized package name match | Fedora Rawhide package metadata: libgusb-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Libraries and headers for gusb | https://github.com/hughsie/libgusb
- pacman - libgusb - 0.4.9-2: normalized package name match | Arch Linux sync databases: libgusb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | GObject wrapper for libusb1 | https://github.com/hughsie/libgusb
- zypper - libgusb-devel - 0.4.9-1.8: normalized package name match | openSUSE Tumbleweed package metadata: libgusb-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for libgusb, a GObject-based wrapper for libusb1 | https://github.com/hughsie/libgusb
- zypper - libgusb2 - 0.4.9-1.8: normalized package name match | openSUSE Tumbleweed package metadata: libgusb2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | GObject-based library for libusb1 | https://github.com/hughsie/libgusb


## Combined YAML source

View the package source record on GitHub. [combined/libgusb.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libgusb.yml)


## Sources

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