
Microsoft team provides an repository for the Debian packages installation. Sudo mv microsoft.gpg /etc/apt//microsoft.gpg

To import gpg key, type: curl | gpg -dearmor > microsoft.gpg Method 2 – How to Install VS Code with PPAįirst, Import the GPG key to your system to verify packages before installation.But if you already have installed using snap tool, skip next method. Next method will instruct you to install visual studio code using the apt package manager. The snap package has been installed on your system. Once the installation completed successfully, you will see the following output. It will download the eclipse IDE snap package and install on your machine. So just execute the below command on your system terminal: sudo snap install code -classic The snap package contains all the requirements for any application. Method 1 – How to Install VS Code using Snap.So, we are providing installation method with snap tool first. The Ubuntu 20.04 LTS preferred to use snap tool instead of Apt for packages installation.

