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

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