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

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