-
Notifications
You must be signed in to change notification settings - Fork 4.9k
zsh: command not found: dotnet on Arch Linux #4322
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Sounds like a mix of AUR packages and Microsoft packages and they dont play nice with each other. I dont use Arch, so I dont know of the step-by-step fix. |
@AzimovParviz What exactly are you trying to achieve? The latest dotnet runtime and sdk are in the official repos. As long as BTW please don't randomly delete or create files from/on your filesystem, linux has package managers, you'll make them very upset. |
Can you list step by step how you're installing .NET Core? |
I misunderstood how dotnet works and passed dll to the "dotnet run" command and it told me to have the particular version of the framework installed for the program i was trying to run.
pacman -Syu dotnet-sdk |
also I used this guide (but for another dotnet version) as well. After I messed up installing runtime, I deleted the executable from the usr/bin folder and messed up everything |
That should do it. If you have ever deleted some files related to one of dotnet packages then try reinstalling all of them with And if you need some other version of .NET Core, then (Although |
installing all 3 together helped, it seems to work now, thank you a lot |
Issue Title
After countless reinstalls trying different binaries from AUR I tried to install the precise version I needed manually but didn't really understand how it works and ended up just rm the dotnet executable from /usr/bin. Now when trying to install sdk from AUR again, I end up with the error from the title
General
I have tried fixing the broken syslink with the
but it just creates a broken link anyways
The text was updated successfully, but these errors were encountered: