top of page

How To Install Visual Code On Linux

Updated: Oct 24, 2021

To install Visual Code Studio on Debian-based systems, you have to enable the VS Code repository and install the Visual Studio Code package using the apt package manager.

The steps for installing Visual Code Studio is as follows:

Step 1: First, you have to update your system using the following command:




$ sudo apt update

Step 2: Now, after your system is updated, install the required dependencies for Visual Code Studio by using the following command:-


$ sudo apt install software-properties-common apt-transport-https

Step 3: Next, download the repository using the wget command, import Microsoft’s GPG key, and add it to your kali source list by using the following commands:-


$ wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg –dearmor > packages.microsoft.gpg
$ sudo install -o root -g root -m 644 packages.microsoft.gpg /etc/apt/trusted.gpg.d/
$ sudo sh -c ‘echo “deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/vscode stable main” > /etc/apt/sources.list.d/vscode.list’



Step 4: Once you’ve done with the above steps, next you have to update the system and install Visual Studio Code by running the following commands:-

$ sudo apt update
$ sudo apt install code


Step 5: Once the installation of Visual Studio Code is completed, go search for Visual Code Studio from the application manager and you can see it over the screen like this:-




5 views0 comments

Comments


©2022 www.theblackthreat.in All right reserved.
bottom of page