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

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

On Debian possible default full paths are:

/usr/lib/gmt/bin/psbasemap - from package: GMT

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