Open C# and install .Net on Ubuntu 18.04
1- Visit this website https://code.visualstudio.com/
2-Go to & install .deb
3- cd Downloads/
4 -sudo dpkg -i code_1.50.0–1602051089_amd64.deb The Bold line is the name of the file.
5-curl https://packages.microsoft.com/keys/microsoft.asc | gpg — dearmor > microsoft.gpg
6-sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
7- sudo apt-get update
8-sudo sh -c ‘echo “deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-zesty-prod zesty main” > /etc/apt/sources.list.d/dotnetdev.list’
9- snap install dotnet-sdk –classic
10- sudo apt-get update
11-dotnet new console -o hwapp, dotnet new creates new application, console type of application we create, -o output directory for the helloworld application.
12-cd hwapp
13- open visual studio code — open new folder all the way to hwapp then Ok
14-You will see program.cs is ready
Please add your comments or send an email to the author at yamors01@louisville.edu. See you next Article.