How to Install and Uninstall dotnet-sdk-2.1.x86_64 Package on Red Hat Enterprise Linux 8 (RHEL 8)

Last updated: November 30,2024

1. Install "dotnet-sdk-2.1.x86_64" package

Please follow the guidance below to install dotnet-sdk-2.1.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8)

$ sudo dnf update $ sudo dnf install dotnet-sdk-2.1.x86_64

2. Uninstall "dotnet-sdk-2.1.x86_64" package

Please follow the instructions below to uninstall dotnet-sdk-2.1.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8):

$ sudo dnf remove dotnet-sdk-2.1.x86_64 $ sudo dnf autoremove

3. Information about the dotnet-sdk-2.1.x86_64 package on Red Hat Enterprise Linux 8 (RHEL 8)

Last metadata expiration check: 0:56:34 ago on Mon Feb 26 15:59:38 2024.
Available Packages
Name : dotnet-sdk-2.1
Version : 2.1.526
Release : 1.el8_4
Architecture : x86_64
Size : 13 k
Source : dotnet-2.1.526-1.el8_4.src.rpm
Repository : ubi-8-appstream-rpms
Summary : .NET Core 2.1 Software Development Kit
URL : https://github.com/dotnet/
License : MIT and ASL 2.0 and BSD
Description : The .NET Core SDK is a collection of command line applications to
: create, build, publish and run .NET Core applications.
:
: .NET Core is a fast, lightweight and modular platform for creating
: cross platform applications that work on Linux, Mac and Windows.
:
: It particularly focuses on creating console applications, web
: applications and micro-services.