How To Install mono-extras on Rocky Linux 8

In this tutorial we learn how to install mono-extras on Rocky Linux 8. mono-extras is Provides the infrastructure for running and building daemons and services with Mono as well as various stub assemblies

Introduction

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

What is mono-extras

This package provides the library and application to run services and daemons with Mono. It also includes stubs for the following assemblies System.Configuration.Install, System.Management, System.Messaging.

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

Install mono-extras 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-extras using dnf by running the following command:

sudo dnf -y install mono-extras

Install mono-extras 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-extras using yum by running the following command:

sudo yum -y install mono-extras

How To Uninstall mono-extras on Rocky Linux 8

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

sudo dnf remove mono-extras

mono-extras Package Contents on Rocky Linux 8

/usr/bin/mono-service
/usr/lib/mono/4.5/Mono.Messaging.RabbitMQ.dll
/usr/lib/mono/4.5/Mono.Messaging.dll
/usr/lib/mono/4.5/RabbitMQ.Client.Apigen.exe
/usr/lib/mono/4.5/RabbitMQ.Client.Apigen.exe.mdb
/usr/lib/mono/4.5/RabbitMQ.Client.dll
/usr/lib/mono/4.5/System.Configuration.Install.dll
/usr/lib/mono/4.5/System.Management.dll
/usr/lib/mono/4.5/System.Messaging.dll
/usr/lib/mono/4.5/System.Runtime.Caching.dll
/usr/lib/mono/4.5/System.ServiceProcess.dll
/usr/lib/mono/4.5/System.Xaml.dll
/usr/lib/mono/4.5/mono-service.exe
/usr/lib/mono/4.5/mono-service.exe.mdb
/usr/lib/mono/gac/Mono.Messaging
/usr/lib/mono/gac/Mono.Messaging.RabbitMQ
/usr/lib/mono/gac/Mono.Messaging.RabbitMQ/4.0.0.0__0738eb9f132ed756
/usr/lib/mono/gac/Mono.Messaging.RabbitMQ/4.0.0.0__0738eb9f132ed756/Mono.Messaging.RabbitMQ.dll
/usr/lib/mono/gac/Mono.Messaging.RabbitMQ/4.0.0.0__0738eb9f132ed756/Mono.Messaging.RabbitMQ.dll.mdb
/usr/lib/mono/gac/Mono.Messaging/4.0.0.0__0738eb9f132ed756
/usr/lib/mono/gac/Mono.Messaging/4.0.0.0__0738eb9f132ed756/Mono.Messaging.dll
/usr/lib/mono/gac/Mono.Messaging/4.0.0.0__0738eb9f132ed756/Mono.Messaging.dll.mdb
/usr/lib/mono/gac/RabbitMQ.Client
/usr/lib/mono/gac/RabbitMQ.Client/4.0.0.0__b03f5f7f11d50a3a
/usr/lib/mono/gac/RabbitMQ.Client/4.0.0.0__b03f5f7f11d50a3a/RabbitMQ.Client.dll
/usr/lib/mono/gac/RabbitMQ.Client/4.0.0.0__b03f5f7f11d50a3a/RabbitMQ.Client.dll.mdb
/usr/lib/mono/gac/System.Configuration.Install
/usr/lib/mono/gac/System.Configuration.Install/4.0.0.0__b03f5f7f11d50a3a
/usr/lib/mono/gac/System.Configuration.Install/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.Install.dll
/usr/lib/mono/gac/System.Configuration.Install/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.Install.dll.mdb
/usr/lib/mono/gac/System.Management
/usr/lib/mono/gac/System.Management/4.0.0.0__b03f5f7f11d50a3a
/usr/lib/mono/gac/System.Management/4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
/usr/lib/mono/gac/System.Management/4.0.0.0__b03f5f7f11d50a3a/System.Management.dll.mdb
/usr/lib/mono/gac/System.Messaging
/usr/lib/mono/gac/System.Messaging/4.0.0.0__b03f5f7f11d50a3a
/usr/lib/mono/gac/System.Messaging/4.0.0.0__b03f5f7f11d50a3a/System.Messaging.dll
/usr/lib/mono/gac/System.Messaging/4.0.0.0__b03f5f7f11d50a3a/System.Messaging.dll.mdb
/usr/lib/mono/gac/System.Runtime.Caching
/usr/lib/mono/gac/System.Runtime.Caching/4.0.0.0__b03f5f7f11d50a3a
/usr/lib/mono/gac/System.Runtime.Caching/4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Caching.dll
/usr/lib/mono/gac/System.Runtime.Caching/4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Caching.dll.mdb
/usr/lib/mono/gac/System.ServiceProcess
/usr/lib/mono/gac/System.ServiceProcess/4.0.0.0__b03f5f7f11d50a3a
/usr/lib/mono/gac/System.ServiceProcess/4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
/usr/lib/mono/gac/System.ServiceProcess/4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll.mdb
/usr/lib/mono/gac/System.Xaml
/usr/lib/mono/gac/System.Xaml/4.0.0.0__b77a5c561934e089
/usr/lib/mono/gac/System.Xaml/4.0.0.0__b77a5c561934e089/System.Xaml.dll
/usr/lib/mono/gac/System.Xaml/4.0.0.0__b77a5c561934e089/System.Xaml.dll.mdb
/usr/lib/mono/gac/mono-service
/usr/lib/mono/gac/mono-service/4.0.0.0__0738eb9f132ed756
/usr/lib/mono/gac/mono-service/4.0.0.0__0738eb9f132ed756/mono-service.exe
/usr/lib/mono/gac/mono-service/4.0.0.0__0738eb9f132ed756/mono-service.exe.mdb
/usr/share/man/man1/mono-service.1.gz

References

Summary

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