installing .Net dotnet on debian
0
votes
2
answers
2359
views
I downloaded ./dotnet-install.sh and successfully installed:
$ ./dotnet-install.sh -c Current
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.
dotnet-install: .NET Core SDK version 5.0.207 is already installed.
dotnet-install: Adding to current process PATH:
/home/tesla/.dotnet
. Note: This change will be visible only when sourcing script.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://docs.microsoft.com/dotnet/core/install , select your operating system and check the "Dependencies" section.
dotnet-install: Installation finished successfully.
I added path
└─$ export PATH=$PATH:/home/tesla/.dotnet
dotnet --version
5.0.207
I have two issues:
First, everytime I restart the PC, I need to reinstall
Second vs code terminal does not see dotnet --version command:
"Command 'dotnet' not found, but can be installed with:
sudo snap install dotnet-sdk # version 5.0.401, or
sudo apt install dotnet-host
See 'snap info dotnet-sdk' for additional versions. "
If I set the path on vscode terminal, after re staring the vscode, it does not recognize dotnet command
Asked by Yilmaz
(417 rep)
Sep 20, 2021, 07:01 AM
Last activity: Oct 25, 2024, 04:02 PM
Last activity: Oct 25, 2024, 04:02 PM