How To Install Lspci?

How To Install Lspci?

lspci

List all PCI devices.

Maintainer: Anibal Monsalve Salazar



Section: admin

Install lspci

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

List all PCI devices.

How to use lspci?

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

Show a brief list of devices:
lspciClick to copy
Display additional info:
lspci -vClick to copy
Display drivers and modules handling each device:
lspci -kClick to copy
Show a specific device:
lspci -s 00:18.3Click to copy
Dump info in a readable form:
lspci -vmClick to copy
Installation of latest lspci command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2024 latest package from the repository and install it in your computer/server.