This entry is also available in my blog: Web Warrior Toolbox

🪽I'm migrating to new dev-pc where I installed Zorin 18 (based on debian linux). I need to install my main text editor (VS Code) when looking at ways to install I found 3 of them

  • Apt: best system integration, no sandbox. to update manually, useapt update
  • Flatpak image: I found it in software center. The is sandboxed. Its good for portability. To update manually use command flatpak update
  • Tarball: you can download that from vscode page. Most manual option. No sandbox, as a result is lightweight. You have no updates so have to do it mannualy.

Since I want best integration of the software in OS I used APT. Since vscode was not in my repo list I had to follow these steps to add it and then install.

  1. prerequisites
sudo apt update sudo apt install wget gpg 
  1. add Microsoft signing key
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | \ gpg --dearmor | \ sudo tee /etc/apt/keyrings/packages.microsoft.gpg > /dev/null 
  1. add repository
echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" | \ sudo tee /etc/apt/sources.list.d/vscode.list 
  1. Finally Install VS Code
sudo apt update sudo apt install code 

So now you have VScode running and you will receive notification when the update is available. Keep learning and coding, dev-san.👏