I have not played with Ubuntu in a while, not since I started to use Alpine Linux like 2 years ago, and CentOS 4 years before that. Apparently in the time, Ubuntu has had some new additions like
Install .NET Core SDK CLI on Ubuntu with Snap
snap install dotnet-sdk --classic
Run .NET Core SDK CLI
For some reason, you can only access .NET Core as
dotnet-sdk.dotnet. So far, I have not had any luck with creating a symlink, so I can access cli with
Snap provides a better installation experience then the official way to install .NET Core.
On other hand you can just run it in docker.
docker run -ti mcr.microsoft.com/dotnet/core/sdk:2.2-bionic