update readme

This commit is contained in:
Aliberk Sandıkçı 2023-07-30 14:24:33 +03:00
parent f4635a5463
commit 8355a3f91c
Signed by: asandikci
GPG key ID: 25C67A03B5666BC1

View file

@ -19,6 +19,17 @@ sudo apt install git
``` ```
Install latest version of Go ! Install latest version of Go !
```bash
# sudo apt update
GOVERSION=$(curl https://go.dev/VERSION?m=text)
wget "https://dl.google.com/go/$GOVERSION.linux-amd64.tar.gz"
sudo tar -C /usr/local -xzf "$GOVERSION.linux-amd64.tar.gz"
cd
echo "export PATH=\$PATH:/usr/local/go/bin" >> .bashrc
source .bashrc
go version
```
// TODO // TODO
// 1. get tar.gz from original website // 1. get tar.gz from original website
// 2. extract tar.gz // 2. extract tar.gz