foomatic-configure: 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/foomatic-configure - from package: foomatic

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

On Debian possible default full paths are:

/usr/bin/foomatic-configure - from package: foomatic-db-engine

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