3 ms·
> Installation takes me to a Microsoft support page, then I'm installing PPAs and copy-pasting lines of Bash Which Microsoft support page are you looking at? T
by delta_p_delta_x 4y ago
> Installation takes me to a Microsoft support page, then I'm installing PPAs and copy-pasting lines of Bash
Which Microsoft support page are you looking at? The one I copied the below commands from[1] literally just lists these commands. On occasion, an additional repository and Microsoft keys need to be added, but everything else just works™.
sudo pacman -S dotnet-sdk
sudo apt install dotnet-sdk-7.0
sudo dnf install dotnet-sdk-7.0
sudo yum install dotnet-sdk-7.0
sudo zypper install dotnet-sdk-7.0
And for lolz:
winget install Microsoft.DotNet.SDK.7
All work on their respective distros/OSes. Once installed:
dotnet new console
to create a new console app. Fire up any editor (doesn't need to be Visual Studio Enterprise 2022) and start coding.
The only place where installing the .NET SDK is complicated is macOS, but that goes for anything there, honestly. Even getting non-Apple Clang + LLVM on macOS is a pain.
[1]: https://learn.microsoft.com/en-us/dotnet/core/install/linux https://learn.microsoft.com/en-us/dotnet/core/install/linux
- pkulak 4y agoInteresting. I just did a quick Google and ended up here: https://learn.microsoft.com/en-us/dotnet/core/install/linux-debian https://learn.microsoft.com/en-us/dotnet/core/install/linux-... I just tried installing your way on Fedora and it worked a treat. Very nice! Thanks for the info. I haven't really kept up since the Mono days.