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

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