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

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