shapes: 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/shapes - from package: gerris-mpi
/usr/bin/shapes - from package: gerris

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