I'm using an Ubuntu based distribution and installed version 5.0.404 and 6.0.101 and now have to install the previous version 3.1 ( core ). After running
wget https://packages.microsoft.com/config/ubuntu/21.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
I'm trying to figure out which commands to run to install the SDK and runtime. For the SDK I tried several versions e.g.
sudo apt-get update; \
sudo apt-get install -y apt-transport-https && \
sudo apt-get update && \
sudo apt-get install -y dotnet-sdk-3.1
or
sudo apt-get update; \
sudo apt-get install -y apt-transport-https && \
sudo apt-get update && \
sudo apt-get install -y aspnetcore-sdk-3.1
but it couldn't locate the package. Does someone know the correct package name for .Net Core 3.1.x ?