lsusb

How To Install Lsusb In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

How To Install Lsusb In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

lsusb

Display information about USB buses and devices connected to them.

Maintainer: Aurelien Jarno



Section: utils

Install lsusb

  • Debian apt-get install usbutils Click to copy
  • Ubuntu apt-get install usbutils Click to copy
  • Alpine OS apk add usbutils Click to copy
  • Arch Linux pacman -S usbutils Click to copy
  • Kali Linux apt-get install usbutils Click to copy
  • CentOS yum install usbutils Click to copy
  • Fedora dnf install usbutils Click to copy
  • Raspbian apt-get install usbutils Click to copy
  • macOS brew install lsusb Click to copy

Display information about USB buses and devices connected to them.

How to use lsusb?

Below are few example commands for lsusb that you can use in the terminal.

List all the USB devices available:
lsusbClick to copy
List the USB hierarchy as a tree:
lsusb -tClick to copy
List verbose information about USB devices:
lsusb --verboseClick to copy
List detailed information about a USB device:
lsusb -D deviceClick to copy
List devices with a specified vendor and product id only:
lsusb -d vendor:productClick to copy
Install the latest version of lsusb in Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS from terminal. To install the lsusb just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of lsusb from the respository and install it in your computer/server.