Installing .NET 5 RC 1 on Pop! OS (or any other Ubuntu 20.04-based OS)

Whilst preparing Prise for .Net 5, I found myself testing lots of platforms in order to guarantee support (Pop OS, Windows 10, macOS) and had to install the latest release candidate on Pop! OS.

Since Pop! is based on Ubuntu, it had to figure out how the download URL is constructed from the original installer script:

https://dotnetcli.blob.core.windows.net/dotnet/release/install-preview/install-dotnet-preview.sh

Long story shot, paste the following commands in your terminal…

Download the binaries

curl https://dotnetcli.blob.core.windows.net/dotnet/release/install-preview/5.0.0-rc.1/dotnet-5.0.0-rc.1-deb.tar.gz -o ~/Downloads/dotnet-5.0.0-rc.1-deb.tar.gz

Extract

mkdir ~/Downloads/net5rc1 && tar xvf ~/Downloads/dotnet-5.0.0-rc.1-deb.tar.gz -C ~/Downloads/net5rc1

Install all .NET 5 packages

apt install -y ~/Downloads/net5rc1/dotnet_packages/*

Confirm

dotnet --list-sdks

🎉 Success! 🎉

Freelance Software Engineer