virt-inspector: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/virt-inspector - from package: libguestfs-tools

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/virt-inspector - from package: libguestfs-tools

You may install the required package with command apt-get install {package}
Error in other languages:
virt-inspector: bevel nie gevind nie
virt-inspector: comandă negăsită
virt-inspector: comando não encontrado
virt-inspector: commande introuvable
virt-inspector: command not found
virt-inspector: käsku ei ole
virt-inspector: không tìm thấy lệnh
virt-inspector: komanda nerasta
virt-inspector: Kommando nicht gefunden.
virt-inspector: kommandot finns inte
virt-inspector: komut yok
virt-inspector: nie znaleziono polecenia
virt-inspector: níor aimsíodh an t-ordú
virt-inspector: no se encontró la orden
virt-inspector: no s'ha trobat l'ordre
virt-inspector: opdracht niet gevonden
virt-inspector: parancs nem található
virt-inspector: perintah tidak ditemukan
virt-inspector: príkaz nenájdený
virt-inspector: příkaz nenalezen
virt-inspector: команда не найдена
virt-inspector: командата не е открита
virt-inspector: 命令找不到
virt-inspector: コマンドが見つかりません