swipl.home: 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/lib/swi-prolog/bin/swipl.home - from package: swi-prolog-nox

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