Dear Support,
I'm using Mac Terminal but connecting SSH with Linux Amazon (AWS), I successfully installed the latest Go language in Linux Amazon and I did update the $PATH to my "/.batch_profile" but was still unable to provide the go version. Kindly refer to the following copy-and-paste command line with its output:
[ec2-user@ip-172-31-22-105 ~]$ go version
-bash: go: command not found
[ec2-user@ip-172-31-22-105 ~]$ find ~ /usr/local -name go -type f -exec ls -ld {} \;
-rwxr-xr-x. 1 ec2-user ec2-user 15645180 Apr 26 15:35 /home/ec2-user/go/bin/go
-rwxr-xr-x. 1 root root 15645326 Mar 29 21:19 /usr/local/go/bin/go/bin/go
-rwxr-xr-x. 1 ec2-user ec2-user 15645180 Apr 26 15:35 /usr/local/go/go/bin/go
Note: I've posted the same question in the AWS Forum for 3 times and none of them were able to help me to solve it. That is why, I came here and I really need help.
Thanks.
I'm using Mac Terminal but connecting SSH with Linux Amazon (AWS), I successfully installed the latest Go language in Linux Amazon and I did update the $PATH to my "/.batch_profile" but was still unable to provide the go version. Kindly refer to the following copy-and-paste command line with its output:
[ec2-user@ip-172-31-22-105 ~]$ go version
-bash: go: command not found
[ec2-user@ip-172-31-22-105 ~]$ find ~ /usr/local -name go -type f -exec ls -ld {} \;
-rwxr-xr-x. 1 ec2-user ec2-user 15645180 Apr 26 15:35 /home/ec2-user/go/bin/go
-rwxr-xr-x. 1 root root 15645326 Mar 29 21:19 /usr/local/go/bin/go/bin/go
-rwxr-xr-x. 1 ec2-user ec2-user 15645180 Apr 26 15:35 /usr/local/go/go/bin/go
Note: I've posted the same question in the AWS Forum for 3 times and none of them were able to help me to solve it. That is why, I came here and I really need help.
Thanks.