用户工具

站点工具


en:pwstudio:qa:q104

q104: "lspci: command not found"

Symptom

When running lspci | grep -i nvidia to check for a GPU, you see “bash: lspci: command not found.” This means the lspci tool itself isn't installed on the system — it's not a sign of a GPU problem.

Fix

# CentOS 7.9
sudo yum install pciutils

On Rocky/Ubuntu, just swap yum for the corresponding package manager (Rocky: sudo dnf install -y pciutils; Ubuntu: sudo apt install -y pciutils). Once installed, run lspci | grep -i nvidia again.

en/pwstudio/qa/q104.txt · 最后更改: 2026/08/04 01:22 由 127.0.0.1