

deb package (which you downloaded earlier) using GDebi Package Installer and then click on "Remove Package" option. Then remove Visual Studio Code (older version) by opening its. Install GDebi Package Installer (if not installed). Sudo apt-get install code # or code-insidersĭownload the latest version of Visual Studio Code as a. Then update the package cache and install the package using: sudo apt-get update Sudo sh -c 'echo "deb stable main" > /etc/apt//vscode.list' Sudo mv microsoft.gpg /etc/apt//microsoft.gpg The repository and key can also be installed manually with the following script: curl | gpg -dearmor > microsoft.gpg

tar.gz binaries are also available on the download page. deb package will automatically install the apt repository and signing key to enable auto-updating using the regular system update mechanism (apt update). Sudo apt-get install -f # Install dependencies deb package (64-bit) either through the graphical software center if it's available or through the command line with: sudo dpkg -i. The easiest way to install for Debian/Ubuntu based distributions is to download and install the. The direct link is here.įor those who'd rather not click, here's the official solution per Microsoft: Debian and Ubuntu based distributions posted the correct solution, although he originally didn't link directly to the section that had the answer.
