Install using Snap PackageThe snap package contains all the requirements for any application. To enable the Visual Studio code Apt repository, type:echo “deb stable main” | sudo \ tee /etc/apt//vs-code.list Once you successfully added the repository to your system, Execute the following commands to install Visual Studio Code on the Ubuntu system.sudo apt update sudo apt install code Press ‘y’ for any confirmation prompted by the installer. To import gpg key, type:curl | gpg –dearmor > microsoft.gpg sudo mv microsoft.gpg /etc/apt//microsoft.gpg Microsoft team provides an repository for the Debian packages installation. Install using Apt RepositoryFirst of all, Import the GPG key to your system to verify packages before installation. So, we are providing the installation methods using the Debian package first. The Ubuntu 18.04 does not have the Snap tool installed. Choose one of the below methods as per your choice. Visual Studio Code is available as the Snap package as well official apt repository with the Debian package. You must have Ubuntu Dekstop installed on your system. Login to your Ubuntu 18.04 system with sudo privileged account. This tutorial will help you to install Visual Studio Code on Ubuntu 18.04 LTS Linux system using Apt package manager and using snap package. The Visual Studio Code is freely available for most modern operating systems like Windows, Linux (RPM and Debian installations are also available), and macOS.
0 Comments
Leave a Reply. |