extract-image: 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/share/diskimage-builder/elements/redhat-common/bin/extract-image - from package: diskimage-builder

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

On Debian possible default full paths are:

/usr/share/diskimage-builder/elements/redhat-common/bin/extract-image - from package: python-diskimage-builder

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