Install Go 1.8 with yum

22,301

Unless someone either adds Go 1.8 to a repo or builds a specific repo for it, you need to manually install it.

Share:
22,301

Related videos on Youtube

migu
Author by

migu

merge keep

Updated on September 18, 2022

Comments

  • migu
    migu almost 2 years

    I'm new to Linux / Yum and just set up an AWS AMI instance. I'm trying to install Go 1.8. When I ran sudo yum install golang it installed version 1.6.3. How can I make it install version 1.8?

    [ec2-user@ip-123 ~]$ yum --showduplicates list golang | expand
    Loaded plugins: priorities, update-motd, upgrade-helper
    Available Packages
    golang.x86_64                   1.5.3-1.22.amzn1                    amzn-main   
    golang.x86_64                   1.6.3-2.57.amzn1                    amzn-updates
    
  • migu
    migu over 7 years
    Thanks. So the latest version that was added to the repo was 1.6.3?
  • FooBee
    FooBee over 7 years
    Yes, exactly. Amazon Linux is based on RHEL, and in such environments, you rarely find this kind of new releases, instead everything is kept at a known state plus security fixes to ensure a stable environment.
  • Michael Hampton
    Michael Hampton over 7 years
    Amazon Linux was forked from CentOS 5...almost a decade ago. It doesn't bear that much resemblance anymore.