Estimated reading time: 1 min

You can install Visual Studio in a number of ways. The simplest process is to use the Ubuntu Software Center.

Open Ubuntu Software Center and do a search on Visual Studio:

Click on Visual Studio and follow the prompts to install the Visual Studio.

To install Visual Studio via terminal. Open terminal via menu or via keys CLT+ALT+T.

n this process, first, you have to download the official .deb package for  Ubuntu system.

Download VS Code “.deb”

Now you can run the following command:

sudo dpkg -i ~/Downloads/code_*.deb; sudo apt -f install

This simple command will install Visual Studio Code editor in Ubuntu. Add the below repository and GPG keys, if you want to get latest updates through the software center.

sudo sh -c 'echo "deb [arch=amd64] stable main" > /etc/apt/sources.list.d/vscode.list'
curl | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
Was this article helpful?
Dislike 0
Views: 96