Error instalar.NET core not Linux Mint
When trying to install .NET Core on Linux Mint using Snap through the Command sudo snap install dotnet-sdk --classic
, at the end of the package installation, it displays:
"dotnet-sdk 3.1.401 from Microsoft .NET Core (dotnetcore✓) installed"
Occurs, however, that when I then run the command dotnet -v
, the following is displayed:
"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 all installation is displayed:
Reading package lists... Ready Building dependency tree
Reading status information... Ready E: unable to find package dotnet-sdk-3.1 E: couldn't find any package by glob 'dotnet-sdk-3.1' E: could not find the package through regular expression 'dotnet-sdk-3.1'
I thought the problem could be environment variable, however, searching, I did not find nothing about it.
I followed tutorials aimed at Ubuntu, because Mint is an OS that, like it is also based on Debian. I did not find anything specific to install on this operating system.
1 answers
Guy in my tava giving the same problem, there I went to see the errors and corrections that had there in Microsoft's own sie 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