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

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