Error installing . NET Core on Linux Mint

Asked

Viewed 213 times

0

When trying to install . NET Core on Linux Mint using Snap command sudo snap install dotnet-sdk --classic, at the end of the package installation, it is displayed:

"dotnet-sdk 3.1.401 from Microsoft . NET Core (dotnetcore ) installed"

It occurs, however, that when I then execute the command dotnet -v, is displayed the following:

"Command 'dotnet' not found, but can be installed with: sudo snap install dotnet-sdk"

I tried to install using APT-GET also with sudo apt-get install -y dotnet-sdk-3.1 and after the entire installation is displayed:

Reading Package Lists... Ready Building a dependency tree
Reading status information... Ready E: Unable to find dotnet-sdk-3.1 package E: Couldn’t find any package by glob 'dotnet-sdk-3.1' E: Could not find package via regular expression 'dotnet-sdk-3.1'

I thought that the problem could be variable environment, however, searching, I did not locate anything about.

I followed tutorials aimed at Ubuntu, because Mint is an OS that, as it is also based on Debian. I couldn’t find anything specific to install on this operating system.

1 answer

-1

Guy in my was giving the same problem, then I went to see the errors and fixes that had there in the microsoft’s own Ie and I was testing, until I got with this command:

sudo dpkg --purge Packages-microsoft-Prod && sudo dpkg -i Packages-microsoft-Prod.deb sudo apt-get update

Browser other questions tagged

You are not signed in. Login or sign up in order to post.