How to install the most recent version of .NET Core runtime is well explained, basically
sudo apt-get install dotnet-runtime-3.1
What if we want to install older version?
Microsoft provides dotnet-install.sh
. It is possible to do dotnet-install.sh -Version 3.1.0 -Runtime aspnetcore
. However this script writes the binaries under $HOME/.dotnet. Also the runtime is not listed by dotnet --info
.
How to install specific version of .NET Core runtime recognized by dotnet --info?
NET Core runtime allows you to run applications on Linux that were made with .
NET works well on their Linux distributions. Support is provided by those distributions. You can still open issues at dotnet/core if you run into problems.
Yes. By installing . NET Core Runtime 2.2.
You can use
apt policy dotnet-sdk-3.1
to see a list of available versions. Then,
sudo apt-get install -y --allow-downgrades dotnet-sdk-3.1=3.1.301-1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With