In most of the cases lsblk tool will be shipped with the CentOS Pacakges but in case not available, you can use below command.
#Centos lsusb install
Here, you need to use yum install util-linux-ng command to install lsblk tool. You can do yum install lsscsi command to install lsscsi tool. Verifying : pciutils-3.5.86_64 1/1Ĭomplete! To install lsscsi tool in linux Here, you need to use yum install pciutils command to install lspci tool. > Package usbutils.x86_64 0:007-5.el7 will be installed Loading mirror speeds from cached hostfile You need to use yum install usbutils command to install lsusb tool. Lsblk - To List all Block devices in the System Install lspci,lsscsi,lsusb and lsblk tools Lsusb - To List all USB Devices in the System Lsscsi - To List all SCSI Devices in the System Lspci - To List all PCI devices in the System We need to go ahead and download those packages using yum tool. For e.g: to check pci devices lspci tool can be used, for scsi devices lsscsi can be used, for usb devices lsusb can be used and for block devices lsblk can be used. We have some open source tool available which can be used to check those configurations. In few of the instances we wanted to know the hardware configuration of our Servers. In this tutorial, I will take you through the steps to install lspci, lsscsi, lsusb, and lsblk tools in RedHat/CentOS 7.