Installing
-
2. Installing Requirement
Then to Install Required Package
Simply run:sudo zypper in libicu
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo -
3. Adding .NET Repo
Then to Add .NET Repository for openSUSE 15
First, import the GPG Key:sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
Then Download the Repo Package:
wget https://packages.microsoft.com/config/opensuse/15/prod.repo
And set up it with:
sudo mv prod.repo /etc/zypp/repos.d/microsoft-prod.repo
Finally, fix permissions with:
sudo chown root:root /etc/zypp/repos.d/microsoft-prod.repo
-
4. Installing .NET Core
Then to Install .NET Core 7 in openSUSE
For the Dotnet SDK play:sudo zypper in dotnet-sdk-7
And instead for ASP.NET Runtime (Already included in the SDK):
sudo zypper in aspnetcore-runtime-6
Finally, to install only the .NET Runtime without ASP.NET support:
sudo zypper in dotnet-runtime-7
Contents