• Ivy Seo

Install .NET on Ubuntu

Environment: Ubuntu terminal


> wget -q https://packages.microsoft.com/config/ubuntu/19.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb > sudo dpkg -i packages-microsoft-prod.deb > sudo apt-get update > sudo apt-get install apt-transport-https > sudo apt-get update > sudo apt-get install dotnet-sdk-3.1 > sudo apt-get update > sudo apt-get install apt-transport-https > sudo apt-get update > sudo apt-get install aspnetcore-runtime-3.1

Install NuGet using dotnet in terminal > dotnet add package Npgsql --version 4.1.3