How To Install Lsusb In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?
Maintainer: Aurelien Jarno
Email: [email protected] .
Website: https://github.com/gregkh/usbutils
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:lsusb
Click to copyList the USB hierarchy as a tree:lsusb -t
Click to copyList verbose information about USB devices:lsusb --verbose
Click to copyList detailed information about a USB device:lsusb -D device
Click to copyList devices with a specified vendor and product id only:lsusb -d vendor:product
Click 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.