How To Install mono-data on Rocky Linux 8

In this tutorial we learn how to install mono-data on Rocky Linux 8. mono-data is Database connectivity for Mono

Introduction

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

What is mono-data

This package provides a Mono assembly to facilitate data access and manipulation with databases, LDAP compatible directory servers and/or XML data exchange. Beyond the ADO.NET, Novell.LDAP and System.DirectoryServices assemblies, it also includes a command line sql application as well as the Microsoft SQL Server and ODBC data providers.

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

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

sudo dnf -y install mono-data

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

sudo yum -y install mono-data

How To Uninstall mono-data on Rocky Linux 8

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

sudo dnf remove mono-data

mono-data Package Contents on Rocky Linux 8

/usr/bin/sqlmetal
/usr/bin/sqlsharp
/usr/lib/mono/4.5/Mono.Data.Tds.dll
/usr/lib/mono/4.5/Novell.Directory.Ldap.dll
/usr/lib/mono/4.5/System.Data.DataSetExtensions.dll
/usr/lib/mono/4.5/System.Data.Entity.dll
/usr/lib/mono/4.5/System.Data.Linq.dll
/usr/lib/mono/4.5/System.Data.Services.Client.dll
/usr/lib/mono/4.5/System.Data.Services.dll
/usr/lib/mono/4.5/System.Data.dll
/usr/lib/mono/4.5/System.DirectoryServices.Protocols.dll
/usr/lib/mono/4.5/System.DirectoryServices.dll
/usr/lib/mono/4.5/System.EnterpriseServices.dll
/usr/lib/mono/4.5/System.Runtime.Serialization.dll
/usr/lib/mono/4.5/System.Transactions.dll
/usr/lib/mono/4.5/WebMatrix.Data.dll
/usr/lib/mono/4.5/sqlmetal.exe
/usr/lib/mono/4.5/sqlmetal.exe.config
/usr/lib/mono/4.5/sqlmetal.exe.mdb
/usr/lib/mono/4.5/sqlsharp.exe
/usr/lib/mono/4.5/sqlsharp.exe.mdb
/usr/lib/mono/gac/Mono.Data.Tds
/usr/lib/mono/gac/Mono.Data.Tds/4.0.0.0__0738eb9f132ed756
/usr/lib/mono/gac/Mono.Data.Tds/4.0.0.0__0738eb9f132ed756/Mono.Data.Tds.dll
/usr/lib/mono/gac/Mono.Data.Tds/4.0.0.0__0738eb9f132ed756/Mono.Data.Tds.dll.mdb
/usr/lib/mono/gac/Novell.Directory.Ldap
/usr/lib/mono/gac/Novell.Directory.Ldap/4.0.0.0__0738eb9f132ed756
/usr/lib/mono/gac/Novell.Directory.Ldap/4.0.0.0__0738eb9f132ed756/Novell.Directory.Ldap.dll
/usr/lib/mono/gac/Novell.Directory.Ldap/4.0.0.0__0738eb9f132ed756/Novell.Directory.Ldap.dll.mdb
/usr/lib/mono/gac/System.Data
/usr/lib/mono/gac/System.Data.DataSetExtensions
/usr/lib/mono/gac/System.Data.DataSetExtensions/4.0.0.0__b77a5c561934e089
/usr/lib/mono/gac/System.Data.DataSetExtensions/4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
/usr/lib/mono/gac/System.Data.DataSetExtensions/4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll.mdb
/usr/lib/mono/gac/System.Data.Entity
/usr/lib/mono/gac/System.Data.Entity/4.0.0.0__b77a5c561934e089
/usr/lib/mono/gac/System.Data.Entity/4.0.0.0__b77a5c561934e089/System.Data.Entity.dll
/usr/lib/mono/gac/System.Data.Entity/4.0.0.0__b77a5c561934e089/System.Data.Entity.dll.mdb
/usr/lib/mono/gac/System.Data.Linq
/usr/lib/mono/gac/System.Data.Linq/4.0.0.0__b77a5c561934e089
/usr/lib/mono/gac/System.Data.Linq/4.0.0.0__b77a5c561934e089/System.Data.Linq.dll
/usr/lib/mono/gac/System.Data.Linq/4.0.0.0__b77a5c561934e089/System.Data.Linq.dll.mdb
/usr/lib/mono/gac/System.Data.Services
/usr/lib/mono/gac/System.Data.Services.Client
/usr/lib/mono/gac/System.Data.Services.Client/4.0.0.0__b77a5c561934e089
/usr/lib/mono/gac/System.Data.Services.Client/4.0.0.0__b77a5c561934e089/System.Data.Services.Client.dll
/usr/lib/mono/gac/System.Data.Services.Client/4.0.0.0__b77a5c561934e089/System.Data.Services.Client.dll.mdb
/usr/lib/mono/gac/System.Data.Services/4.0.0.0__b77a5c561934e089
/usr/lib/mono/gac/System.Data.Services/4.0.0.0__b77a5c561934e089/System.Data.Services.dll
/usr/lib/mono/gac/System.Data.Services/4.0.0.0__b77a5c561934e089/System.Data.Services.dll.mdb
/usr/lib/mono/gac/System.Data/4.0.0.0__b77a5c561934e089
/usr/lib/mono/gac/System.Data/4.0.0.0__b77a5c561934e089/System.Data.dll
/usr/lib/mono/gac/System.Data/4.0.0.0__b77a5c561934e089/System.Data.dll.mdb
/usr/lib/mono/gac/System.DirectoryServices
/usr/lib/mono/gac/System.DirectoryServices.Protocols
/usr/lib/mono/gac/System.DirectoryServices.Protocols/4.0.0.0__b03f5f7f11d50a3a
/usr/lib/mono/gac/System.DirectoryServices.Protocols/4.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.Protocols.dll
/usr/lib/mono/gac/System.DirectoryServices.Protocols/4.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.Protocols.dll.mdb
/usr/lib/mono/gac/System.DirectoryServices/4.0.0.0__b03f5f7f11d50a3a
/usr/lib/mono/gac/System.DirectoryServices/4.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll
/usr/lib/mono/gac/System.DirectoryServices/4.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll.mdb
/usr/lib/mono/gac/System.EnterpriseServices
/usr/lib/mono/gac/System.EnterpriseServices/4.0.0.0__b03f5f7f11d50a3a
/usr/lib/mono/gac/System.EnterpriseServices/4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
/usr/lib/mono/gac/System.EnterpriseServices/4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll.mdb
/usr/lib/mono/gac/System.Runtime.Serialization
/usr/lib/mono/gac/System.Runtime.Serialization/4.0.0.0__b77a5c561934e089
/usr/lib/mono/gac/System.Runtime.Serialization/4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
/usr/lib/mono/gac/System.Runtime.Serialization/4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll.mdb
/usr/lib/mono/gac/System.Transactions
/usr/lib/mono/gac/System.Transactions/4.0.0.0__b77a5c561934e089
/usr/lib/mono/gac/System.Transactions/4.0.0.0__b77a5c561934e089/System.Transactions.dll
/usr/lib/mono/gac/System.Transactions/4.0.0.0__b77a5c561934e089/System.Transactions.dll.mdb
/usr/lib/mono/gac/WebMatrix.Data
/usr/lib/mono/gac/WebMatrix.Data/4.0.0.0__0738eb9f132ed756
/usr/lib/mono/gac/WebMatrix.Data/4.0.0.0__0738eb9f132ed756/WebMatrix.Data.dll
/usr/lib/mono/gac/WebMatrix.Data/4.0.0.0__0738eb9f132ed756/WebMatrix.Data.dll.mdb
/usr/share/man/man1/sqlsharp.1.gz

References

Summary

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