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

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