How To Install mono-cecil on Fedora 36
Introduction
In this tutorial we learn how to install mono-cecil
on Fedora 36.
What is mono-cecil
Cecil is a library written by Jb Evain to generate and inspect programs and libraries in the ECMA CIL format. It has full support for generics, and support some debugging symbol format. In simple English, with Cecil, you can load existing managed assemblies, browse all the contained types, modify them on the fly and save back to the disk the modified assembly. Today it is used by the Mono Debugger, the bug-finding and compliance checking tool Gendarme, MoMA, DB4O, as well as many other tools.
We can use yum
or dnf
to install mono-cecil
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mono-cecil.
Install mono-cecil on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install mono-cecil
using dnf
by running the following command:
sudo dnf -y install mono-cecil
Install mono-cecil on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install mono-cecil
using yum
by running the following command:
sudo yum -y install mono-cecil
How To Uninstall mono-cecil on Fedora 36
To uninstall only the mono-cecil
package we can use the following command:
sudo dnf remove mono-cecil
mono-cecil Package Contents on Fedora 36
/usr/lib/mono/Mono.Cecil
/usr/lib/mono/Mono.Cecil/Mono.Cecil.Mdb.dll
/usr/lib/mono/Mono.Cecil/Mono.Cecil.Pdb.dll
/usr/lib/mono/Mono.Cecil/Mono.Cecil.Rocks.dll
/usr/lib/mono/Mono.Cecil/Mono.Cecil.dll
/usr/lib/mono/gac/Mono.Cecil
/usr/lib/mono/gac/Mono.Cecil.Mdb
/usr/lib/mono/gac/Mono.Cecil.Mdb/0.10.4.0__50cebf1cceb9d05e
/usr/lib/mono/gac/Mono.Cecil.Mdb/0.10.4.0__50cebf1cceb9d05e/Mono.Cecil.Mdb.dll
/usr/lib/mono/gac/Mono.Cecil.Mdb/0.10.4.0__50cebf1cceb9d05e/Mono.Cecil.Mdb.dll.mdb
/usr/lib/mono/gac/Mono.Cecil.Pdb
/usr/lib/mono/gac/Mono.Cecil.Pdb/0.10.4.0__50cebf1cceb9d05e
/usr/lib/mono/gac/Mono.Cecil.Pdb/0.10.4.0__50cebf1cceb9d05e/Mono.Cecil.Pdb.dll
/usr/lib/mono/gac/Mono.Cecil.Pdb/0.10.4.0__50cebf1cceb9d05e/Mono.Cecil.Pdb.dll.mdb
/usr/lib/mono/gac/Mono.Cecil.Rocks
/usr/lib/mono/gac/Mono.Cecil.Rocks/0.10.4.0__50cebf1cceb9d05e
/usr/lib/mono/gac/Mono.Cecil.Rocks/0.10.4.0__50cebf1cceb9d05e/Mono.Cecil.Rocks.dll
/usr/lib/mono/gac/Mono.Cecil.Rocks/0.10.4.0__50cebf1cceb9d05e/Mono.Cecil.Rocks.dll.mdb
/usr/lib/mono/gac/Mono.Cecil/0.10.4.0__50cebf1cceb9d05e
/usr/lib/mono/gac/Mono.Cecil/0.10.4.0__50cebf1cceb9d05e/Mono.Cecil.dll
/usr/lib/mono/gac/Mono.Cecil/0.10.4.0__50cebf1cceb9d05e/Mono.Cecil.dll.mdb
References
Summary
In this tutorial we learn how to install mono-cecil
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).