PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, May 14, 2022

[FIXED] How to install specific version of Go in Ubuntu using snap

 May 14, 2022     go, snap, ubuntu     No comments   

Issue

Trying to install go version 1.16 using snap but not able to. can someone help.


Solution

  1. you can run snap info go, which gives you a list of go versions.

    `sudo snap info go`
    
  2. Then you can install your preferred version with --channel like this.

    sudo snap install go --channel=1.6/stable --classic

This will also work for upgrade / downgrade to specific version after installation. For example you want to downgrade from 1.17 go version to 1.16

  `sudo snap refresh go --channel=1.6/stable --classic`


Answered By - Billi
Answer Checked By - Senaida (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing