In CentOS virtual machine makes lspci to view hardware information. When using it, it prompts bash: lspci: command not found, most use /sbin/lspci to do this, I found that it is not available under /sbin on my system either. Using yum install lspci shows no such package.
#yum whatprovides */lspci
pciutils-3.1.4-9.el6.x86_64 : PCI bus related utilities
Repo : base
Matched from:
Filename : /sbin/lspci
#yum install pciutils
After installation, you can use lspci
[root@GoGo ~]# lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX – 82443BX/ZX/DX Host bridge (rev 01)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX – 82443BX/ZX/DX AGP bridge (rev 01)
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
yum whatprovides reverse check which installation the command is in
yum whatprovides */command name
For example, to find which installer provides pvcreate.
yum whatprovides */pvcreate
Similar Posts:
- Ubuntu Startup Error: “piix4_smbus 0000:00:07.3: SMBus Host controller not enabled”
- Install intel xtu Error: “Attempted to install on an unsupported platform”
- [Solved] Android Studio For Mac Error: “Intel HAXM is required to run this AVD,VT-x is disabled in BIOS”
- Ifconfig command not found for Linux Installation Errors [How to Solve]
- For piix4_ Solution of SMBus * * host SMBus controller not enabled (detailed steps summary)
- nfs load errorwrong fs type, bad option, bad superblock
- How to Solve Linux Error: ifconfig command not found
- Solve the problem of Ubuntu: “SMBus base address uninitialized -…”
- “Another installation is in progress” is prompted when win7 installs new applications
- Description and temporary solution of VirtualBox 5.0. X unable to connect to Internet after installation