Problem Golang Command Not Found Ubuntu
1 min readOct 18, 2019
You need following configuration for ubuntu
- 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