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

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