rasgetpal: 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 CentOS possible default full paths are:

/usr/bin/rasgetpal - from package: ncl

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/rasgetpal - from package: ncl-ncarg

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