# Install usbutils with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

List detailed info about USB devices. Version 019 via Homebrew; verified 2026-06-19.

## Install

```sh
sudo av install brew:usbutils
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install usbutils
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install usbutils
```

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

### Linux

- apk (92%):

```sh
sudo apk add usbutils
```

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

- Debian apt (92%):

```sh
sudo apt install usbutils
```

  Evidence: Debian stable package indexes: usbutils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install usbutils
```

  Evidence: Fedora Rawhide package metadata: usbutils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#usbutils
```

  Evidence: nixpkgs package indexes: pkgs/by-name/us/usbutils/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S usbutils
```

  Evidence: Arch Linux sync databases: usbutils from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- zypper (92%):

```sh
sudo zypper install usbutils
```

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

## Package facts

- **Package key:** brew:usbutils
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/usbutils>
- **Version:** 019
- **Source summary:** List detailed info about USB devices
- **Homepage:** <http://www.linux-usb.org/>
- **Repository:** <https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git>
- **Upstream docs:** <http://www.linux-usb.org/>
- **License:** GPL-2.0-only AND GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only)
- **Source archive:** <https://mirrors.edge.kernel.org/pub/linux/utils/usb/usbutils/usbutils-019.tar.gz>
- **Last updated:** 2026-06-19T12:33:04-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- usbhid-dump (cli)
- usbhid-dump (alias)

## Dependencies

- libusb

## Build dependencies

- meson
- ninja
- pkgconf

## Install behavior

- Post-install hook: not defined
- Caveats: usbhid-dump requires either proper code signing with com.apple.vm.device-access entitlement or root privilege
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 019
- Package-manager updated: 2026-06-19
- Local data: ok
- Upstream repository: http://www.linux-usb.org/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

usbutils is the Linux and BSD user-space toolkit for inspecting USB devices attached to a host. Its README describes it as a collection of USB tools used to query what kind of USB devices are connected to a system, with the important distinction that it runs on USB hosts, not USB devices.

### Project history

The official kernel.org Git history begins on 2004-02-20 with an initial revision, followed by early 2004 changes around lsusb behavior, USB IDs, and descriptor reporting. That places usbutils in the long-running Linux USB user-space tooling lineage rather than in the newer single-purpose CLI wave.

The package has remained small but central: the tree contains `lsusb`, `usb-devices`, `usbreset`, USB descriptor tables, and usbhid-dump integration. The README records libusb and libudev as build dependencies and lists kernel.org as the maintainer-preferred source location, with mirrors at SourceHut and GitHub.

The old-style NEWS file is maintained for people without access to Git history, which is a very package-oriented signal: distro users and packagers can still see release changes even when they are building from a source tarball instead of browsing the repository.

### Adoption history

The input package metadata lists usbutils across Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE package families. That breadth follows naturally from its role as the standard user-space package behind `lsusb` and related USB inspection tools.

usbutils is usually adopted indirectly by administrators, developers, and hardware debuggers: it is installed when someone needs to identify USB vendors/products, inspect descriptors, reset devices, or troubleshoot how the kernel sees attached USB hardware.

### How it is used

The core workflow is host inspection: run the tools on a machine with USB devices attached, list devices, inspect descriptors, dump HID information, or reset a device. The README emphasizes that the tools are for host-side querying and require libusb and libudev to build.

In package-manager culture, usbutils is often one of the first packages installed inside containers, rescue systems, minimal Linux images, or macOS/Linux developer workstations when hardware discovery is needed.

### Why package nerds care

usbutils is significant because it turns kernel USB state into command-line facts. Packagers care about it as a small, stable diagnostic bundle with a recognizable executable surface and a dependency relationship to libusb, udev, hardware ID data, and distribution packaging policies.

### Timeline

- 2004-02-20: Official Git history begins with an initial revision.
- 2009-04-26: Official tag v0.80 created.
- 2018-2025: NEWS file maintained for packaged versions without Git history.
- 2024-10-22: Official tag v018 created.
- 2025-10-22: Official tag v019 created.

### Related projects

- The official README names libusb and libudev as dependencies, and the contribution section points to the linux-usb mailing list.

### Sources

- <https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git/plain/NEWS>
- <https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git/plain/README.md>
- input source_facts.package-manager
- official git log and tags from https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - usbutils - 1:018-2: normalized package name match | Debian stable package indexes: usbutils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Linux USB utilities | https://github.com/gregkh/usbutils
- Debian apt - usbutils-py - 1:018-2: normalized package name match | Debian stable package indexes: usbutils-py from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Linux USB utilities - lsusb.py command | https://github.com/gregkh/usbutils
- Nix - usbutils: normalized package name match | nixpkgs package indexes: pkgs/by-name/us/usbutils/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - usbutils - 1:017-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: usbutils from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Linux USB utilities | https://github.com/gregkh/usbutils
- Ubuntu apt - usbutils-py - 1:017-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: usbutils-py from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Linux USB utilities - lsusb.py command | https://github.com/gregkh/usbutils
- apk - usbutils - 019-r0: normalized package name match | Alpine Linux edge package indexes: usbutils from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | USB Device Utilities | https://linux-usb.sourceforge.net/
- apk - usbutils-doc - 019-r0: normalized package name match | Alpine Linux edge package indexes: usbutils-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | USB Device Utilities (documentation) | https://linux-usb.sourceforge.net/
- dnf - usbutils - 019-2.fc44: normalized package name match | Fedora Rawhide package metadata: usbutils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Linux USB utilities | http://www.linux-usb.org/
- pacman - usbutils - 019-1: normalized package name match | Arch Linux sync databases: usbutils from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz | A collection of USB tools to query connected USB devices | https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git/
- zypper - usbutils - 019-1.4: normalized package name match | openSUSE Tumbleweed package metadata: usbutils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Tools and libraries for USB devices | https://sourceforge.net/projects/linux-usb/
- MacPorts - usbutils: normalized package name match | MacPorts ports tree: sysutils/usbutils/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.
- [Web development packages](https://www.automicvault.com/pkg/web-dev-tools/) - Matched web development metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [meson](https://www.automicvault.com/pkg/brew/meson/) - Build dependency declared by Homebrew.
- [ninja](https://www.automicvault.com/pkg/brew/ninja/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cyme](https://www.automicvault.com/pkg/brew/cyme/) - Shares av.db curated category or tags: cli, hardware, lsusb, system, usb.
- [dcled](https://www.automicvault.com/pkg/brew/dcled/) - Shares av.db curated category or tags: cli, hardware, linux, system, usb.
- [lsusb](https://www.automicvault.com/pkg/brew/lsusb/) - Shares av.db curated category or tags: cli, hardware, system, usb.
- [rkflashtool](https://www.automicvault.com/pkg/brew/rkflashtool/) - Shares av.db curated category or tags: cli, hardware, system, usb.
- [digitemp](https://www.automicvault.com/pkg/brew/digitemp/) - Shares av.db curated category or tags: cli, hardware, system.
- [gfxutil](https://www.automicvault.com/pkg/brew/gfxutil/) - Shares av.db curated category or tags: cli, hardware, system.
- [libcpuid](https://www.automicvault.com/pkg/brew/libcpuid/) - Shares av.db curated category or tags: cli, hardware, system.
- [libevdev](https://www.automicvault.com/pkg/brew/libevdev/) - Shares av.db curated category or tags: cli, hardware, system.

## Combined YAML source

View the package source record on GitHub. [combined/usbutils.yml](https://github.com/automic-vault/db/blob/main/combined/usbutils.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
