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
...
@@ -20,7 +20,7 @@ sudo apt upgrade
The latest version can be found
[
here
](
https://go.dev/dl/
)
. Please adjust the command below accordingly.
The latest version can be found
[
here
](
https://go.dev/dl/
)
. Please adjust the command below accordingly.
```
bash
```
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
### 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
...
@@ -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.
Make sure to adjust the version in this command to fit the one downloaded in the previous step.
```
bash
```
bash
sudo tar
-C
/usr/local/
-xzf
go1.21.5.src.tar.gz
sudo tar
-C
/usr/local/
-xzf
go1.21.5.linux-386.tar.gz
cd
/usr/local/
```
```
### Check if path for Go is already set
### Check if path for Go is already set
...
@@ -41,6 +40,7 @@ echo $PATH
...
@@ -41,6 +40,7 @@ echo $PATH
### Set path for Go if not set
### Set path for Go if not set
```
bash
```
bash
cd
/usr/local/
sudo
nano
$HOME
/.profile
sudo
nano
$HOME
/.profile
export
PATH
=
$PATH
:/usr/local/go/bin
export
PATH
=
$PATH
:/usr/local/go/bin
export
GOPATH
=
$HOME
/go
export
GOPATH
=
$HOME
/go
...
...
...
...