virt-format: 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-format - from package: libguestfs-tools-c

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

On Debian possible default full paths are:

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

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