C#C
C#3y ago
Taylor

How to upgrade from Microsoft.NETCore.App 6.0.13 to Microsoft.NETCore.App 6.0.16 on Ubuntu 22.04LTS?

I recently did a micro-update on my developer machine and now my machine is running Microsoft.NETCore.App 6.0.16 on Windows 11 while my Ubuntu server is running Microsoft.NETCore.App 6.0.13. Big mistake. Now my code won't run on the server because it is 3 minor versions behind.

I've tried
sudo apt-get update && sudo apt-get install -y aspnetcore-runtime-6.0
but that just re-installs the 6.0.13 version. I also see this downloads page contains downloads for linux but idk how to install them. https://dotnet.microsoft.com/en-us/download/dotnet/6.0

Any help would be super excellent.
image.png
Microsoft
.NET 6.0 downloads for Linux, macOS, and Windows. .NET is a free, cross-platform, open-source developer platform for building many different types of applications.
Was this page helpful?