cxpm: 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/cxpm - from package: libXpm-devel

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

On Debian possible default full paths are:

/usr/bin/cxpm - from package: xpmutils

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