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

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

On Debian possible default full paths are:

/usr/sbin/gogoc - from package: gogoc

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