afm2tfm: 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/afm2tfm - from package: texlive-afm

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

On Debian possible default full paths are:

/usr/bin/afm2tfm - from package: texlive-binaries

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