- Able to meet IntelliSense
- Comes with the ability to debug code right from the editor
- Has got built-in Git commands
- Can be extended and customized
For more information on the features, visit the VScode Website. Let’s proceed to check out the steps on how to install VScode IDE on Pop!_OS.
How to install VScode IDE on Pop!_OS 20.04|20.10|21.04
Below is a detailed process on how you can come about the installation of VScode IDE on Pop!_OS. Follow the steps shown below and you are good to go;
Step 1. Update your System
To update your system, use the command shown below;
sudo apt update sudo apt upgrade -y
Step 2. Add Visual Studio code repository and GPG Key to the System
The repository is required so as to obtain all the required packages for VScode installation. To add the repository and key, use the commands below;
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/ sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
The output is as shown below;
[email protected]:~$ curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 983 100 983 0 0 840 0 0:00:01 0:00:01 --:--:-- 840 [email protected]:~$ sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/ [email protected]:~$ sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
Step 3. Install VScode IDE on Pop!_OS 20.04|20.10|21.04
Now that you have added the repository and the GPG key has been imported, you can now instal VScode IDE on Pop!_OS, using he following commands;
sudo apt update sudo apt install apt-transport-https sudo apt install code
The output is as shown;
The other output is as shown;
[email protected]:~$ sudo apt install code Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: code 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 76.4 MB of archives. After this operation, 292 MB of additional disk space will be used. Get:1 http://ppa.launchpad.net/system76/pop/ubuntu focal/main amd64 code amd64 1.57.1-1623975230-pop1~1624462631~20.04~f5f88c9 [76.4 MB] Fetched 76.4 MB in 16s (4,797 kB/s) Selecting previously unselected package code. (Reading database ... 217162 files and directories currently installed.) Preparing to unpack .../code_1.57.1-1623975230-pop1~1624462631~20.04~f5f88c9_amd64.deb ... Unpacking code (1.57.1-1623975230-pop1~1624462631~20.04~f5f88c9) ... Setting up code (1.57.1-1623975230-pop1~1624462631~20.04~f5f88c9) ... Processing triggers for mime-support (3.64ubuntu1) ... Processing triggers for gnome-menus (3.36.0-1ubuntu1) ... Processing triggers for libc-bin (2.31-0ubuntu9.2) ... Processing triggers for shared-mime-info (1.15-1) ... Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Step 4. Launch VScode on Pop!_OS
To launch this source code editor, use the command below;
Or, you go to activities, show application and search for code, there you will see Visual Studio code, tap on it and it will launch.