

$ sudo apt-get install -f *This command tries to fix any broken packages by installing missing dependencies.*

Once downloaded, execute the following commands from the file ( Downloaded ) location. For OS like Fedora or SUSE based distribution download. If you are using Linux distribution based on Ubuntu, like Linux Mint, Elementary OS and many more, then you need to download. VSCode also officially available as a DEB package for Debian / Ubuntu distro.įirstly download deb package from Visual Studio Code Download and use apt / dpkg command to install it.

This is standard way to install Visual Studio. $ sudo apt-get install code Install Visual Studio Code DEB package Once repository and key installed successfully, update the package and install Visual Studio Code using $ sudo apt-get install apt-transport-https $ sudo sh -c 'echo "deb stable main" > /etc/apt//vscode.list' $ sudo install -o root -g root -m 644 /etc/apt//

So we will learn how you can install repository and key manually by executing the following scripts. Let check how we will going to install Visual Studio Code from official apt repositories. Install VSCode on Ubuntu 4 Installing Visual Studio Code from apt It will also upgrade Visual Studio in the background, whenever a new version is released. For that open Ubuntu Software OR Snap Store and search Visual Studio Code and click Install. Now let’s check how can install Visual Studio Code using GUI. Therefore let use command line first to install Visual Studio Code. We can install from either the command line or via Ubuntu Software Application. When everything has finished, you need to reboot the system. Snap will install some extra packages and/or upgrade packages. ( Upgrade Ubuntu to 20.04 LTS ) $ sudo apt-get update For other Ubuntu, versions execute following commands to install a snap. So if you are working with Ubuntu 16.04 LTS or later then snap is already installed. Visual Studio Code is available in Ubuntu Snap package manager, which is one of the fastest ways to install. Also, we covered different installation methods like Install Visual Studio Code as snap, Install Visual Studio Code from apt and Install Visual Studio Code DEB package. Hence, It gives the developer complete freedom to customise work experience and provide a remarkably fast workflow for programmers. Visual Studio Code works with many build-in features like debugging, Git support, syntax highlight, snippets and other valuable third-party extensions. Visual Studio Code is an open-source, cross-platform code editor.
