-
Uninstall any previous version of docker and related packages from the system: sudo apt-get remove docker docker-engine docker.io containerd runc plus do this to be completly sure: https://docs.docker.com/engine/install/ubuntu/#uninstall-docker-engine
-
Installation: There are various methods for installing docker, I installed it using the convinence script, it's by far the simplest method. Just download the script and let it do all the work. If you are experienced enough you can do a manual install too.
-
After this add your user to docker usergroup so you don't need to use sudo for every docker command.
-
Note Sometimes convenience script gives error when it executes sudo apt update command. This happens when you have a single or multiple erronious repo addressess.(run apt update separately and in the bottom you will see a summary of those errors). In this case you have to remove those bad repo addresses: Just delete the erro
Installing Arduino extension for VS code makes development very easy and organised as VS code has integrated git management and the use of workspaces make it easier to isolate certain extensions/plugins to your arduino projects only. Installing the extension and connecting it to the Arduino IDE especially on Ubuntu is bit cumbersome as arduino IDE is installed as a Snap package which has it's own sandbox envionment and hence a bit difficult to provide PATH variable for it's executable to depending application (which in our case is VScode Arduino extension). An alternate solution is provided below which uses the Arduino-cli which is light-weight and feature rich command line tool from arduino devs. You might not need Arduino IDE after this install.
$ esptool.py chip_id
esptool.py v2.5.1
Found 1 serial ports
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
MAC: 84:f3:eb:0b:dd:53
- Step 1: Remove node and all the global packages related to it. Follow: this link.
- Old yarn installation might bug you so delete:
~/.yarnrc
and~/.yarnrc.config
- Make sure that eveything related to nodejs, npm, yarn, node is removed.
- Old yarn installation might bug you so delete:
- Step 2: Install nvm and update source. Follow this link.
- Step 3: Install latest lts version of nodejs, npm, yarn.
- Install node.
nvm install --lts --latest-npm <your-node-version>
(This will install+club latest npm version with your node installation)
- Install node.
- Install yarn. Follow this link. Used corepack.