I am Charmie

メモとログ

C# on Linux

To enjoy .NET program on Linux, let's follow the official tutorial.
The following information is for Ubuntu 16.04 but the tutorial itself contains information for other versions and OSs.

Step 1 install dependencies
[code lang='bash']
wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
[/code]

Step 2 install the .NET SDK
The following commands install version 2.2. Before the installation, please check the version of the latest version.
[code lang='bash']
sudo apt install apt-transport-https
sudo apt update
sudo apt install dotnet-sdk-2.2
[/code]

Step 3 check the installation
The following command prints some information about the installed dotnet.
[code lang='bash']
dotnet
[/code]