smogrify: 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 Debian possible default full paths are:

/usr/bin/smogrify - from package: lives

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