Roadmap: Ubuntu Visual Studio Code Install Step#1 Download Visual Studio Code Deb Format As Shown in Image Below Using
Roadmap: Ubuntu Visual Studio Code Install Step#1 Download Visual Studio Code Deb Format As Shown in Image Below Using
Step#2 Open terminal by clicking this icon and type terminal ubuntu visual studio code install
Step#3 Navigate to the Download directory and install visual studio Code using these commands.
1 cd downloads
2 sudo dpkg -i filename.deb
Step#4 check if the visual studio is installed by typing code in the search bar. you can see visual studio code is
installed.
Step#6 Register the Microsoft Product key as trusted. Run the following two commands:
1 curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
2 sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
Step#7 Set up the desired version host package feed. Based on Operating system run the respective command. I am
using Ubuntu 16.04 so I will use the third option – see the command in image below from step#6 and Step#7
1 Ubuntu 17.10
2 sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-
3 artful-prod artful main" > /etc/apt/sources.list.d/dotnetdev.list'
4 sudo apt-get update
5
6 Ubuntu 17.04
7 sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-
8 zesty-prod zesty main" > /etc/apt/sources.list.d/dotnetdev.list'
9 sudo apt-get update
1
0
1 Ubuntu 16.04 / Linux Mint 18
1 sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-
1 xenial-prod xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
2 sudo apt-get update
1
3 Ubuntu 14.04 / Linux Mint 17
1 sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-
4 trusty-prod trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
1 sudo apt-get update
5
1
6
1 dotnet –versión
Step# 10 Create a sample console app using CLI command below
1 cd helloworldapp
2 dotnet run
Step#12 Open the folder in Visual Studio and you can see program.cs