Recent content by jng77

  1. J

    Using Linux Amazon - Unable to Display "go version"

    Hi, Me too, I share the same rate with you for @f33dm3bits too! Thanks..
  2. J

    Using Linux Amazon - Unable to Display "go version"

    Hi, Thanks for clearing it up and sorry for the confusion. I get it now. I have jot this down on my note. By running the command in Linux Terminal --> uname -a will display the information such as "aarch64" (for example like mine), this aarch is the same term as ARM and is in contrast with...
  3. J

    Using Linux Amazon - Unable to Display "go version"

    Hey, thanks for being here. Here you are: wget https://dl.google.com/go/go1.20.4.linux-arm64.tar.gz HTTP request sent, awaiting response... 200 OK Length: 95470016 (91M) [application/x-gzip] Saving to: ‘go1.20.4.linux-arm64.tar.gz’ go1.20.4.linux-arm64.tar...
  4. J

    Using Linux Amazon - Unable to Display "go version"

    Oh yeah, you're right. So this means I need to remove the following and then install using arm64. go1.20.4.linux-amd64.tar.gz Can do me a favor? Can you stay on the line here? Because I want to report it back to you. Many thanks!
  5. J

    Using Linux Amazon - Unable to Display "go version"

    Thanks for rectifying it but the problem is, I'm now using Mac Terminal with SSH Connect with the Linux Amazon. How to do that?
  6. J

    Using Linux Amazon - Unable to Display "go version"

    Hi, I'm back and sorry for the delay. Here you are: uname -a Linux ip-172-31-22-105.ec2.internal 6.1.23-36.46.amzn2023.aarch64 #1 SMP Mon Apr 10 22:42:58 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
  7. J

    Using Linux Amazon - Unable to Display "go version"

    Here you are as per the details: [ec2-user@ip-172-31-22-105 ~]$ ls -l /home/ec2-user/go/bin total 18628 -rwxr-xr-x. 1 ec2-user ec2-user 15645180 Apr 26 15:35 go -rwxr-xr-x. 1 ec2-user ec2-user 3427131 Apr 26 15:35 gofmt [ec2-user@ip-172-31-22-105 ~]$ ls -l ~ go/bin /home/ec2-user...
  8. J

    Using Linux Amazon - Unable to Display "go version"

    Here you are the Output: [ec2-user@ip-172-31-22-105 ~]$ /home/ec2-user/go/bin/go version -bash: /home/ec2-user/go/bin/go: cannot execute binary file: Exec format error [ec2-user@ip-172-31-22-105 ~]$ ls -l ~/go/bin total 18628 -rwxr-xr-x. 1 ec2-user ec2-user 15645180 Apr 26 15:35 go...
  9. J

    Using Linux Amazon - Unable to Display "go version"

    Sorry for the late reply. Have updated the Code in the /.bash_profile and here you are the following Output: [ec2-user@ip-172-31-22-105 ~]$ nano ~/.bash_profile [ec2-user@ip-172-31-22-105 ~]$ source ~/.bash_profile [ec2-user@ip-172-31-22-105 ~]$ which go ~/go/bin/go...
  10. J

    Using Linux Amazon - Unable to Display "go version"

    Hi, I see, is not reading from the /home/ec2-user/go/bin/go. Sure, definitely. Here you are the following Output: [ec2-user@ip-172-31-22-105 ~]$ ls -1 ~/go/bin go gofmt [ec2-user@ip-172-31-22-105 ~]$ ls -1 /home/ec2-user/go/bin go gofmt [ec2-user@ip-172-31-22-105 ~]$ cat...
  11. J

    Using Linux Amazon - Unable to Display "go version"

    Hi, Thanks and have removed the following and added the code you provided. Here you are the Output: [ec2-user@ip-172-31-22-105 ~]$ nano ~/.bash_profile [ec2-user@ip-172-31-22-105 ~]$ source ~/.bash_profile [ec2-user@ip-172-31-22-105 ~]$ which go ~/go/bin/go [ec2-user@ip-172-31-22-105 ~]$...
  12. J

    Using Linux Amazon - Unable to Display "go version"

    I would like to use this binary: -rwxr-xr-x. 1 ec2-user ec2-user 15645180 Apr 26 15:35 /home/ec2-user/go/bin/go
  13. J

    Using Linux Amazon - Unable to Display "go version"

    Hi, Sure. Here you are the following output of the Code above: [ec2-user@ip-172-31-22-105 ~]$ echo $SHELL /bin/bash [ec2-user@ip-172-31-22-105 ~]$ cat ~/.bashrc # .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # User specific environment if ...
  14. J

    Using Linux Amazon - Unable to Display "go version"

    Hi, Here you are the result of echo $PATH /home/ec2-user/bin:/usr/local/go/bin:/home/ec2-user/.local/bin:/home/ec2-user/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/ec2-user/.local/bin:/home/ec2-user/bin:/home/ec2-user/go/src/github.com/hyperledger/fabric-ca/bin:/usr/local/go/bin
  15. J

    Using Linux Amazon - Unable to Display "go version"

    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...
Top