Search
Duplicate
Try Notion
🤖
Set up your virtual machine
We are going to install all the requirements to be able to easily follow the workshop:
Go:
Installation
sudo apt-get update wget https://go.dev/dl/go1.19.2.linux-amd64.tar.gz tar -xvf go1.19.2.linux-amd64.tar.gz sudo mv go /usr/local/ rm go1.19.2.linux-amd64.tar.gz
Bash
Configure your terminal, running nano ~/.bashrc go to the end of the file and paste the following lines. Control + X to exit, Y and enter to save.
export GOROOT=/usr/local/go export GOPATH=$HOME/devel/goproject export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
Bash
Restart your terminal
exit
Bash
Reenter your terminal and run go version to be sure that it was correctly installed.
Make:
Installation
sudo apt install make -y
Bash
GCC:
Installation
sudo apt install gcc -y
Bash
Screen:
Installation
sudo apt install screen -y
Bash
Usage:
screen -S <name>: It will create a new screen (terminal) named <name>
Control + a + d: deattach, it will leave your current terminal running in the background
screen -ls : list all your screens
screen -rd <name>: it will resume your bring to the foreground the terminal named <name> so you can interact with it again.