Installation is fine; cannot run file.
Problem encountered on https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/run Operating System: linux/Ubuntu
When I run the "hello world" dotnet file, nothing happens. I don't get an error warning. Just nothing happens. I also need to run as a superuser. Might be related; might not,

Did you install via snap? We do see a lot of issues with that, if that's the case.
I don't think so. I installed this a few weeks ago when I was on boarding and didn't check . I use apt.
On Mon, Jul 25, 2022, 3:11 PM Maira Wenzel @.***> wrote:
Did you install via snap? We do see a lot of issues with that, if that's the case.
— Reply to this email directly, view it on GitHub https://github.com/dotnet/core/issues/7634#issuecomment-1194694817, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQGR5P3ETM2RSO33XUTI74LVV4GJZANCNFSM54TFB25Q . You are receiving this because you authored the thread.Message ID: @.***>
seems like a duplicate of #7627
I doubt it; I just reinstalled dotnet according to that ticket and still am getting the same issue
On Linux distribution like ubuntu: Install the .NET Core SDK with snapcraft (snap package manager) as demonstrated following steps bellow:
A. Installing it for the first time on your machine / on a new machine:
- sudo snap install dotnet-sdk --classic
- sudo ln -s /snap/dotnet-sdk/current/dotnet /usr/local/bin/dotnet
B. Not for the first time / installed previous version before:
- sudo snap install dotnet-sdk --classic
- sudo rm /usr/local/bin/dotnet
- sudo ln -s /snap/dotnet-sdk/current/dotnet /usr/local/bin/dotnet
Closing based on this comment from @leecow last year: https://github.com/dotnet/core/issues/7627#issuecomment-1585176247
But please let us know if you still can't install it via the instructions on https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu