© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
302 replies
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
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
Download .NET 6.0 (Linux, macOS, and Windows)
.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.
Download .NET 6.0 (Linux, macOS, and Windows)
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

How to pin Microsoft.NETCore.App.Ref version
C#CC# / help
2y ago
error NETSDK1127 The targeting pack Microsoft.NETCore.App is not installed.
C#CC# / help
4y ago
❔ how to run the asp .netcore backend
C#CC# / help
4y ago