Is it possible to upgrade from .NET 6 to 7?

Describe your feature request
I noticed dotnet version 6 is installed. Is it possible to upgrade to version 7? I tried some ‘apt’ commands but these failed.

What problem(s) would this feature solve?
I need the latest version because some nuget packages aren’t compatible only with version 7.

Explain what you were trying to do when you came across the problem leading to this feature request
Testing out your .NET template.