create account

How To Install Golang On Your Linux System by rhinoceros

View this thread on: hive.blogpeakd.comecency.com
· @rhinoceros · (edited)
$0.05
How To Install Golang On Your Linux System
# Table of Contents
[What is Golang](#whats-is-golang)
[What's Special in Golang](#whats-special-in-golang)
[How to Install Golang on Your Linux System](#how-to-install-golang-on-your-linux-system)
[How to Update Golang](#how-to-update-golang)

## What is Golang

Golang is programming language created by robert griesemer, rob pike, ken thampson in 2007 at google.

## What's Special in Golang

![what is golang](https://files.peakd.com/file/peakd-hive/diamond-head/nC2ElTRb-modelsheet.jpg)

Golang is statically typed language so program execution time less and it's derived from C language.

## How to Install Golang on Your Linux System

![what is golang](https://files.peakd.com/file/peakd-hive/diamond-head/SnPP1UV7-AddText_09-05-01.56.37.jpg)

The latest stable version of golang is 1.15 and another version is 1.15.1 and now we see how to install both versions to your linux system.

First we download the linux compatible golang file from [golang.org](https://golang.com) website it's official website of golang. Where you can see lots of versions of golang but we only download the latest version of golang.

Click download go 1.15 version package it's start download to your download folder.

The download finish then open your linux terminal type these commands.

``tar -C /usr/local -xzf go1.14.3.linux-amd64.tar.gz``

If it is not work then use sudo beginning above command

Then now you should edit your bashrc file to set environment variable

Open ``sudo nano /.bashrc``

Place below lines to your bashrc file

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

And now check properly installed golang on your linux

``go version``

You will get the current installed golang version on your screen.

## How to Update Golang

![what is golang](https://files.peakd.com/file/peakd-hive/rhinoceros/NjYcKnj9-goimg.jpg)



If you need to update your golang to latest version just do this you will get the latest version of golang. The current golang latest version is 1.15.1 so type this command on your terminal
 
``go get golang.org/dl/go1.15.1``

it's takes time to download the latest version then type this

``go1.15.1 download``

finally you updated your golang to latest version.

If you have any doubts please leave that in comment section I will be solve it.
👍  , , , ,
properties (23)
authorrhinoceros
permlinkhow-to-install-golang-on-your-linux-system
categorygolang
json_metadata"{"app":"peakd/2020.09.4","description":"Golang is programming language created by robert griesemer, rob pike, ken thampson in 2007 at google.","format":"markdown","image":["https://files.peakd.com/file/peakd-hive/diamond-head/nC2ElTRb-modelsheet.jpg","https://files.peakd.com/file/peakd-hive/diamond-head/SnPP1UV7-AddText_09-05-01.56.37.jpg","https://files.peakd.com/file/peakd-hive/rhinoceros/NjYcKnj9-goimg.jpg"],"links":["#whats-is-golang","#whats-special-in-golang","#how-to-install-golang-on-your-linux-system","#how-to-update-golang","https://golang.com"],"tags":["golang","go","programming"]}"
created2020-09-06 15:36:54
last_update2020-09-16 10:10:00
depth0
children1
last_payout2020-09-13 15:36:54
cashout_time1969-12-31 23:59:59
total_payout_value0.026 HBD
curator_payout_value0.025 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,280
author_reputation608,045,491,787
root_title"How To Install Golang On Your Linux System"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id99,483,414
net_rshares273,184,017,108
author_curate_reward""
vote details (5)
@gitplait ·
Upvoted by GITPLAIT!

We have a curation trial on Hive.vote. you can earn a passive income by delegating to [@gitplait](https://hive.vote/dash.php?i=15&id=1&user=gitplait)
We share 80 % of the curation rewards with the delegators.
___

_To delegate, use the links or adjust_ [10HIVE](https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=10%20HP), [20HIVE](https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=20%20HP), [50HIVE](https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=50%20HP), [100HIVE](https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=100%20HP),   [200HIVE](https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=200%20HP), [500HIVE](https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=500%20HP), [1,000HIVE](https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=1000%20HP), [10,000HIVE](https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=10000%20HP), [100,000HIVE](https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=100000%20HP)

___

Join the [Community](https://hive.blog/trending/hive-103590) and chat with us on [Discord](https://discord.gg/CWCj3rw)  let’s solve problems & build together.
properties (22)
authorgitplait
permlinkqgaxk1
categorygolang
json_metadata{"links":["https://hive.vote/dash.php?i=15&id=1&user=gitplait","https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=10%20HP","https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=20%20HP","https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=50%20HP","https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=100%20HP","https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=200%20HP","https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=500%20HP","https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=1000%20HP","https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=10000%20HP","https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=100000%20HP","https://hive.blog/trending/hive-103590","https://discord.gg/CWCj3rw"],"app":"hiveblog/0.1"}
created2020-09-07 18:48:06
last_update2020-09-07 18:48:06
depth1
children0
last_payout2020-09-14 18:48:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,493
author_reputation911,220,543,569
root_title"How To Install Golang On Your Linux System"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id99,505,074
net_rshares0