How To Install mono-winforms on Rocky Linux 8

In this tutorial we learn how to install mono-winforms on Rocky Linux 8. mono-winforms is Windows Forms implementation for Mono

Introduction

In this tutorial we learn how to install mono-winforms on Rocky Linux 8.

What is mono-winforms

This package provides a fully managed implementation of System.Windows.Forms, the default graphical toolkit for .NET applications.

We can use yum or dnf to install mono-winforms on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mono-winforms.

Install mono-winforms on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install mono-winforms using dnf by running the following command:

sudo dnf -y install mono-winforms

Install mono-winforms on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mono-winforms using yum by running the following command:

sudo yum -y install mono-winforms

How To Uninstall mono-winforms on Rocky Linux 8

To uninstall only the mono-winforms package we can use the following command:

sudo dnf remove mono-winforms

mono-winforms Package Contents on Rocky Linux 8

/usr/lib/mono/4.5/Accessibility.dll
/usr/lib/mono/4.5/Mono.WebBrowser.dll
/usr/lib/mono/4.5/System.Design.dll
/usr/lib/mono/4.5/System.Drawing.Design.dll
/usr/lib/mono/4.5/System.Windows.Forms.DataVisualization.dll
/usr/lib/mono/4.5/System.Windows.Forms.dll
/usr/lib/mono/gac/Accessibility
/usr/lib/mono/gac/Accessibility/4.0.0.0__b03f5f7f11d50a3a
/usr/lib/mono/gac/Accessibility/4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
/usr/lib/mono/gac/Accessibility/4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll.mdb
/usr/lib/mono/gac/Mono.WebBrowser
/usr/lib/mono/gac/Mono.WebBrowser/4.0.0.0__0738eb9f132ed756
/usr/lib/mono/gac/Mono.WebBrowser/4.0.0.0__0738eb9f132ed756/Mono.WebBrowser.dll
/usr/lib/mono/gac/Mono.WebBrowser/4.0.0.0__0738eb9f132ed756/Mono.WebBrowser.dll.mdb
/usr/lib/mono/gac/System.Design
/usr/lib/mono/gac/System.Design/4.0.0.0__b03f5f7f11d50a3a
/usr/lib/mono/gac/System.Design/4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
/usr/lib/mono/gac/System.Design/4.0.0.0__b03f5f7f11d50a3a/System.Design.dll.mdb
/usr/lib/mono/gac/System.Drawing.Design
/usr/lib/mono/gac/System.Drawing.Design/4.0.0.0__b03f5f7f11d50a3a
/usr/lib/mono/gac/System.Drawing.Design/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll
/usr/lib/mono/gac/System.Drawing.Design/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll.mdb
/usr/lib/mono/gac/System.Windows.Forms
/usr/lib/mono/gac/System.Windows.Forms.DataVisualization
/usr/lib/mono/gac/System.Windows.Forms.DataVisualization/4.0.0.0__31bf3856ad364e35
/usr/lib/mono/gac/System.Windows.Forms.DataVisualization/4.0.0.0__31bf3856ad364e35/System.Windows.Forms.DataVisualization.dll
/usr/lib/mono/gac/System.Windows.Forms.DataVisualization/4.0.0.0__31bf3856ad364e35/System.Windows.Forms.DataVisualization.dll.mdb
/usr/lib/mono/gac/System.Windows.Forms/4.0.0.0__b77a5c561934e089
/usr/lib/mono/gac/System.Windows.Forms/4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
/usr/lib/mono/gac/System.Windows.Forms/4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.mdb

References

Summary

In this tutorial we learn how to install mono-winforms on Rocky Linux 8 using yum and dnf.