-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to run .NET 6 SDK #7627
Labels
area-setup
Issues related to installing .NET Core
area-tutorials
Issues related to getting started tutorials
Comments
It is caused because of improper installation. Reinstall dotnet 6.0
then install runtime
|
mairaw
added
area-tutorials
Issues related to getting started tutorials
area-setup
Issues related to installing .NET Core
labels
Jul 25, 2022
I had a similar problem and solved it by doing following: https://stackoverflow.com/a/70931715/3855642 Essentially, remove the existing symlink and create a new one. sudo rm /usr/local/bin/dotnet
sudo ln -s /snap/dotnet-sdk/current/dotnet /usr/local/bin/dotnet |
Thanks man! Will attempt on Monday when I'm back in the office
…On Thu, Jul 28, 2022, 4:25 PM Fighter19 ***@***.***> wrote:
I had a similar problem and solved it by doing following:
https://stackoverflow.com/a/70931715/3855642
Essentially, remove the existing symlink and create a new one.
sudo rm /usr/local/bin/dotnet
sudo ln -s /snap/dotnet-sdk/current/dotnet /usr/local/bin/dotnet
—
Reply to this email directly, view it on GitHub
<#7627 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQGR5P4347DA36KKX5EPMYLVWMJHDANCNFSM54NMMV6A>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
This particular issue should be resolved in snap installs. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-setup
Issues related to installing .NET Core
area-tutorials
Issues related to getting started tutorials
Problem encountered on https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/intro
Operating System: Linux, Ubuntu 20.04
Installed .NET 6 from hello world tutorial, followed all the instructions but system cannot detect .net when I type in the 'dotnet' command in the terminal. I get this error:
cannot exec "/snap/dotnet-sdk/174/snap/command-chain/snapcraft-runner": permission denied
It does work when I give permission using sudo, but can I program does it function properly with this permission problem?
The text was updated successfully, but these errors were encountered: