Wednesday, May 8, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 11662  / 1 Year ago, sun, april 2, 2023, 3:42:30

Currently have the .net sdk 3.1.404 installed. There is a newer version out Download .NET Core 3.1 SDK 3.1.405.


I am trying to figure out how to upgrade this on my machine. Part of my problem is that all the documentation is on how to install .net 5.0 which is not what i need currently i need the latest SDK for 3.1 in the project i am working on.


Currently installed versions:


linda@linda-ThinkPad-X1-Extreme-2nd:~/development/$ dotnet --list-sdks
2.2.402 [/usr/share/dotnet/sdk]
3.1.404 [/usr/share/dotnet/sdk]
5.0.101 [/usr/share/dotnet/sdk]

I tried running:


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.405

Which resulted in:



E: Unable to locate package dotnet-sdk-3.1.405

E: Couldn't find any package by glob 'dotnet-sdk-3.1.405'
E: Couldn't find any package by regex 'dotnet-sdk-3.1.405'



Then I tried:


sudo apt-get install dotnet-sdk-3.1

Which then resulted in the following message:


dotnet-sdk-3.1 is already the newest version (3.1.404-1).

As you can see I am a little new at running Linux for my development desktop any help would be greatly appreciated.


My current Ubuntu version is:


Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal

More From » apt

 Answers
4

Looks like Microsoft has not yet added 3.1.405 to their repository, which means you'll need to do a manual installation. Alternatively, it does appear to be available as a Snap if you choose to go that route.


.Net as a Snap


[#2061] Sunday, April 2, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
odyroc

Total Points: 324
Total Questions: 109
Total Answers: 103

Location: Belize
Member since Mon, Apr 17, 2023
1 Year ago
odyroc questions
;