YouTube Icon

How to Install Go on Debian 10 Linux

How to Install Go on Debian 10 Linux

Go is a cutting edge open-source programming language made by Google, used to fabricate dependable, basic, quick, and proficient programming. Numerous mainstream applications, for example, Kubernetes, Docker, Terraform, and Rancher, are written in Go. 

In this instructional exercise, we'll disclose to download and introduce Go on a Debian 10, Buster. 

Also Read:- How to Install Tor Browser on Ubuntu 18.04

Installing Go on Debian 10 Linux

At the hour of composing this article, the most recent stable adaptation of Go is rendition 1.13. Prior to downloading the Go chronicle, visit the authority Go downloads page and check if there is another adaptation accessible. 

Also Read:- How to Install Netbeans on Ubuntu 18.04

Follow the means underneath to introduce Go on Debian 10: 

Download the Go tarball utilizing the accompanying wget order: 


Confirm the downloaded record utilizing the sha256sum order: 

sha256sum go1.13.linux-amd64.tar.gz
68a2297eb099d1a76097905a2ce334e3155004ec08cdea85f24527be3c48e856  go1.13.linux-amd64.tar.gz

Ensure the hash coordinates the one from the Go downloads page . 

Concentrate the tar chronicle to the/usr/nearby index: 

sudo tar -C /usr/local -xzf go1.13.linux-amd64.tar.gz

Also Read:- How to Install Android Studio on Ubuntu 18.04

When the document is extricated, alter the $PATH climate variable so the framework knows where the Go executable parallels are found. You can do this either by adding the accompanying line to the/and so on/profile document (for a framework wide establishment) or to the $HOME/.profile record (for a current client establishment): 


export PATH=$PATH:/usr/local/go/bin

Spare the document, and apply the new PATH climate variable to the current shell meeting by composing: 

source ~/.profile

To confirm that Go has been effectively introduced run the accompanying order which will print the Go form: 

go version
go version go1.13 linux/amd64

Testing the Installation

To test the Go establishment, we will make a workspace and construct a straightforward "Hi world" program. 

Also Read:- How to Uninstall Apps on Mac OS X

As a matter of course the GOPATH variable, which indicates the area of the workspace is set to $HOME/go. To make the workspace index type: 

mkdir ~/go

Inside the workspace make another index src/hi: 

mkdir -p ~/go/src/hello

also, in that index make a record named hello.go: 


package main

import "fmt"

func main() {
    fmt.Printf("Hello, World\n")

To become familiar with Go workspace catalog chain of command, visit the Go Documentation page. 

To fabricate the record album to the ~/go/src/hi catalog and run go manufacture: 

cd ~/go/src/hello
go build

The order above will fabricate an executable record named hi. 

Also Read:- How to Set Up a New MacBook

Run the executable utilizing the order beneath: 


The yield should resemble this: 

Hello, World


We have told you the best way to download and introduce Go on Debian 10 Linux. 

On the off chance that you hit an issue or have criticism, leave a remark beneath.

Also Read:- Golang: why? Some reasons to choose it

Author Biography.


CrowdforThink is the leading Indian media platform, known for its end-to-end coverage of the Indian startups through news, reports, technology and inspiring stories of startup founders, entrepreneurs, investors, influencers and analysis of the startup eco-system, mobile app developers and more dedicated to promote the startup ecosystem.

Join Our Newsletter.

Subscribe to CrowdforThink newsletter to get daily update directly deliver into your inbox.

CrowdforGeeks is where lifelong learners come to learn the skills they need, to land the jobs they want, to build the lives they deserve.


CrowdforThink is a leading Indian media and information platform, known for its end-to-end coverage of the Indian startup ecosystem.


Our mission is "Har Koi Dekhe Video, Har Ghar Dekhe Video, Ghar Ghar Dekhe Video" so we Provide videos related to Tutorials, Travel, Technology, Wedding, Cooking, Dance, Festivals, Celebration.

Apna Video Wala

News & Blogs


Golang: why? Some reasons to choose it

As of late I had a meeting where one of the responsibles ask me: "In the event that you need...

Top Authors

Lamia Rochdi is the Marketing Manager at Bell Flavors & Fragrances EMEA. A successful family-...

Lamia Rochdi

I’m Mertin Wilson a technician in a camera company and certified expert of different P...

Mertin Wilson

Zakariya has recently joined the PakWheels team as a Content Marketing Executive, shortly after g...

Zakariya Usman

Pankaj Singh is a Senior Digital Marketing Consultant with more than 2 years of experience in SEO...

Pankaj Singh

Our Client Says

WhatsApp Chat with Our Support Team