protoc-gen-gogo: 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/protoc-gen-gogo - from package: golang-googlecode-gogoprotobuf

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

On Debian possible default full paths are:

/usr/bin/protoc-gen-gogo - from package: golang-gogoprotobuf-dev

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