-bash: go: command not found

what worked was command:
yum install epel-release;yum update;yum install go