How To Install mono-cecil-devel on CentOS 7

In this tutorial we learn how to install mono-cecil-devel on CentOS 7. mono-cecil-devel is pkgconfig file for Mono.Cecil

Introduction

In this tutorial we learn how to install mono-cecil-devel on CentOS 7.

What is mono-cecil-devel

This package contains the cecil.pc file which is required by other packages that reference Mono.Cecil.dll

We can use yum or dnf to install mono-cecil-devel on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install mono-cecil-devel.

Install mono-cecil-devel on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install mono-cecil-devel

Install mono-cecil-devel on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install mono-cecil-devel

How To Uninstall mono-cecil-devel on CentOS 7

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

sudo dnf remove mono-cecil-devel

References

Summary

In this tutorial we learn how to install mono-cecil-devel on CentOS 7 using yum and dnf.