Problem Golang Command Not Found Ubuntu

Derry Berni Cahyady
1 min readOct 18, 2019

--

You need following configuration for ubuntu

  1. Modify file .bashrc

vim ~/.bashrc

2. add the following script

export PATH=$PATH:/usr/local/go/bin
export GOPATH=$HOME/go;
export PATH=$PATH:$GOPATH/bin;

3. Also don’t forget to reload the configuration once its changed with

source ~/.bashrc

--

--

Derry Berni Cahyady
Derry Berni Cahyady

Written by Derry Berni Cahyady

Data & Security Enthusiast | Software Engineer

No responses yet