# Install libusb-compat with Homebrew, apk, MacPorts, pacman, zypper

Library for USB device access. Version 0.1.9 via Homebrew; verified 2026-05-18.

## Install

```sh
sudo av install brew:libusb-compat
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libusb-compat
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libusb-compat
```

  Evidence: MacPorts ports tree: devel/libusb-compat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add libusb-compat
```

  Evidence: Alpine Linux edge package indexes: libusb-compat from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- pacman (92%):

```sh
sudo pacman -S libusb-compat
```

  Evidence: Arch Linux sync databases: libusb-compat from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libusb-0_1-4
```

  Evidence: openSUSE Tumbleweed package metadata: libusb-0_1-4 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:libusb-compat
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libusb-compat>
- **Version:** 0.1.9
- **Source summary:** Library for USB device access
- **Homepage:** <https://libusb.info/>
- **Repository:** <https://github.com/libusb/libusb-compat-0.1>
- **Upstream docs:** <https://github.com/libusb/libusb-compat-0.1>
- **License:** LGPL-2.1-or-later AND (LGPL-2.1-or-later OR BSD-3-Clause)
- **Source archive:** <https://downloads.sourceforge.net/project/libusb/libusb-compat-0.1/libusb-compat-0.1.9/libusb-compat-0.1.9.tar.bz2>
- **Last updated:** 2026-05-18T03:58:46Z
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- libusb-config (cli)
- libusb-config (alias)

## Dependencies

- libusb

## Build dependencies

- autoconf
- automake
- libtool
- pkgconf

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-09
- Package-manager version: 0.1.9
- Package-manager updated: 2026-05-18
- Local data: ok
- Upstream repository: https://libusb.info/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

libusb-compat is the libusb project's compatibility layer for software written against the old libusb-0.1 API while systems moved to the newer libusb-1.0 stack.

### Project history

The project appeared during the libusb-1.0 transition as a deliberately conservative bridge: keep legacy usb_* callers building and running while letting distributions ship the newer libusb implementation underneath. Its release notes show an initial beta in May 2008, a 0.1.0 release in December 2008, and later fixes focused on endpoint-addressing compatibility, initialization behavior, cross-compiling, and avoiding symbol clashes with libusb-1.0.

### Adoption history

The package became useful to Unix package maintainers because many older USB tools and libraries expected libusb-0.1 headers or libusb-config even after libusb-1.0 had become the maintained API. Keeping it packaged let distributions retire older implementation details without forcing every leaf package to port at once.

### How it is used

End users rarely call libusb-compat directly. It is normally pulled in as a build or runtime dependency for older USB-aware software, with libusb-config serving legacy configure scripts.

### Why package nerds care

It is a classic transition package: small, boring, and important because it absorbs API churn between a widely used hardware-access library and a long tail of older consumers.

### Timeline

- 2008-05-25: Initial 0.1.0 beta release.
- 2008-12-13: libusb-compat-0.1.0 release.
- 2009: 0.1.1 through 0.1.3 refined endpoint behavior, initialization failure handling, error-code compatibility, and cross-compiling.
- 2015: 0.1.6 added cleanup handling, libusb-1.0 dlopen handling, and MinGW updates.

### Related projects

- libusb-1.0 is the implementation layer that libusb-compat targets.
- libusb-0.1 is the legacy API surface preserved for old consumers.

### Sources

- <https://github.com/libusb/libusb-compat-0.1>
- <https://libusb.info/>
- <https://raw.githubusercontent.com/libusb/libusb-compat-0.1/master/NEWS>


## Security Notes

No matching local secret-handling manifest was found for libusb-compat. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libusb-compat
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- apk - libusb-compat - 0.1.9-r0: normalized package name match | Alpine Linux edge package indexes: libusb-compat from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Compatility for older libusb | https://libusb.info/
- apk - libusb-compat-dev - 0.1.9-r0: normalized package name match | Alpine Linux edge package indexes: libusb-compat-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Compatility for older libusb (development files) | https://libusb.info/
- pacman - libusb-compat - 0.1.9-1: normalized package name match | Arch Linux sync databases: libusb-compat from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Library to enable user space application programs to communicate with USB devices | http://libusb.sourceforge.net/
- zypper - libusb-0_1-4 - 0.1.13-38.8: normalized package name match | openSUSE Tumbleweed package metadata: libusb-0_1-4 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | libusb-1.0 Compatibility Library for libusb-0.1 | https://libusb.info/
- zypper - libusb-0_1-4-32bit - 0.1.13-38.8: normalized package name match | openSUSE Tumbleweed package metadata: libusb-0_1-4-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | libusb-1.0 Compatibility Library for libusb-0.1 | https://libusb.info/
- zypper - libusb-compat-devel - 0.1.8-38.8: normalized package name match | openSUSE Tumbleweed package metadata: libusb-compat-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | libusb-1.0 Compatibility Layer for libusb-0.1 | https://libusb.info/
- MacPorts - libusb-compat: normalized package name match | MacPorts ports tree: devel/libusb-compat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [apcupsd](https://www.automicvault.com/pkg/brew/apcupsd/) - Popular package that depends on this formula.
- [avrdude](https://www.automicvault.com/pkg/brew/avrdude/) - Popular package that depends on this formula.
- [bootloadhid](https://www.automicvault.com/pkg/brew/bootloadhid/) - Popular package that depends on this formula.
- [digitemp](https://www.automicvault.com/pkg/brew/digitemp/) - Popular package that depends on this formula.
- [garmintools](https://www.automicvault.com/pkg/brew/garmintools/) - Popular package that depends on this formula.
- [hamlib](https://www.automicvault.com/pkg/brew/hamlib/) - Popular package that depends on this formula.
- [lcdproc](https://www.automicvault.com/pkg/brew/lcdproc/) - Popular package that depends on this formula.
- [libfreefare](https://www.automicvault.com/pkg/brew/libfreefare/) - Popular package that depends on this formula.
- [lsusb](https://www.automicvault.com/pkg/brew/lsusb/) - Shares av.db curated category or tags: cli, hardware, system, usb.
- [cyme](https://www.automicvault.com/pkg/brew/cyme/) - Shares av.db curated category or tags: cli, hardware, system, usb.
- [dcled](https://www.automicvault.com/pkg/brew/dcled/) - Shares av.db curated category or tags: cli, hardware, system, usb.
- [libgusb](https://www.automicvault.com/pkg/brew/libgusb/) - Shares av.db curated category or tags: cli, system, usb.
- [rkflashtool](https://www.automicvault.com/pkg/brew/rkflashtool/) - Shares av.db curated category or tags: cli, hardware, system, usb.
- [usbutils](https://www.automicvault.com/pkg/brew/usbutils/) - Shares av.db curated category or tags: cli, hardware, system, usb.
- [dpcmd](https://www.automicvault.com/pkg/brew/dpcmd/) - Shares av.db curated category or tags: cli, hardware, system.
- [node-hid](https://www.automicvault.com/pkg/npm/node-hid/) - Local package facts share a topical domain. Shared terms: access, api, cli, device, hardware.

## Combined YAML source

View the package source record on GitHub. [combined/libusb-compat.yml](https://github.com/automic-vault/db/blob/main/combined/libusb-compat.yml)


## Sources

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