• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install Go on Linux Mint 20

  • 00:30 lsb_release -a
  • 00:41 apt update
  • 00:54 wget -q https://storage.googleapis.com/golang/getgo/installer_linux
  • 01:02 chmod +x installer_linux
  • 01:07 ./installer_linux
  • 01:14 source /root/.bash_profile
  • 01:20 go version
{{postValue.id}}

To install Go on Linux Mint 20

Introduction:

Go is a simple language with clear and concise specifications that are readable and comprehensive. One of the major strengths of Golang is its concurrency, which means multiple processes of the Go applications can run at the same time. This tutorial will cover the installation of Go on Linux Mint 20.

Installation procedure:

First check the version of the linux mint OS

root@LinuxHelp:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Linuxmint
Description:	Linux Mint 20
Release:	20
Codename:	ulyana

Now update the packages by using the following command

root@LinuxHelp:~# apt update
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]                             
.
.
.
Fetched 5,262 kB in 6s (836 kB/s)                                                                                         
Reading package lists... Done
Building dependency tree       
Reading state information... Done
403 packages can be upgraded. Run 'apt list --upgradable' to see them.

Now download the Go package by using Wget command

root@LinuxHelp:~# wget -q https://storage.googleapis.com/golang/getgo/installer_linux

Once the package is download then give the executable permission to the packages

root@LinuxHelp:~# chmod +x installer_linux

Once the permission is given then install the packages

root@LinuxHelp:~# ./installer_linux
Welcome to the Go installer!
Downloading Go version go1.15.6 to /root/.go
This may take a bit of time...
Downloaded!
Setting up GOPATH
GOPATH has been set up!
One more thing! Run `source /root/.bash_profile` to persist the
new environment variables to your current session, or open a
new shell prompt.

Now add the go function file to the system shell scripts by using the following command

root@LinuxHelp:~# source /root/.bash_profile

once the file is added then check the version of the go by using the following command

root@LinuxHelp:~# go version
go version go1.15.6 linux/amd64

With this method, the installation of the Go on Linux Mint 20 is comes to an end.

Tags:
laurabenjamin
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is GO in linux?

A

Go is an elegant language with clean and concise specifications that are readable and comprehensive. One of the major
strengths of Golang is its concurrency, which means multiple processes of the Go applications can run at the same time.

Q

Where did you download the GO packages?

A

The URL is: https://storage.googleapis.com/golang/getgo/installer_linux

Q

How do you load the Golang functions file into the current shell script?

A

To using the following command to load the function file to system shell script
source /root/.bash_profile

Q

How do you install the Go?

A

Using the following command to install the Go
# ./installer_linux

Q

How do check the version of Go?

A

The command is # go version

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Lucas ?
Various options in Top command

Am using Top command only to view the load average, what are the various options in Top command..??

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.