Changes
Page history
Update Prerequisites
authored
Jan 09, 2024
by
Katharina Renk
Hide whitespace changes
Inline
Side-by-side
Labs/Prerequisites.md
View page @
fc59d0c4
...
...
@@ -20,7 +20,7 @@ sudo apt upgrade
The latest version can be found
[
here
](
https://go.dev/dl/
)
. Please adjust the command below accordingly.
```
bash
wget https://go.dev/dl/go1.21.5.
src
.tar.gz
wget https://go.dev/dl/go1.21.5.
linux-386
.tar.gz
```
### Extract the libraries using the tar command and placing it in the correct location
...
...
@@ -28,8 +28,7 @@ wget https://go.dev/dl/go1.21.5.src.tar.gz
Make sure to adjust the version in this command to fit the one downloaded in the previous step.
```
bash
sudo tar
-C
/usr/local/
-xzf
go1.21.5.src.tar.gz
cd
/usr/local/
sudo tar
-C
/usr/local/
-xzf
go1.21.5.linux-386.tar.gz
```
### Check if path for Go is already set
...
...
@@ -41,6 +40,7 @@ echo $PATH
### Set path for Go if not set
```
bash
cd
/usr/local/
sudo
nano
$HOME
/.profile
export
PATH
=
$PATH
:/usr/local/go/bin
export
GOPATH
=
$HOME
/go
...
...
...
...