How To Install libdnlib-cil-dev on Debian 12

Learn how to install libdnlib-cil-dev on Debian 12 with this tutorial. libdnlib-cil-dev is .NET module/assembly reader/writer library for Mono - devel package

Introduction

In this tutorial we learn how to install libdnlib-cil-dev on Debian 12.

What is libdnlib-cil-dev

libdnlib-cil-dev is:

dnlib was written as a robust .NET assembly library that can handle all types of obfuscated assemblies, to be used with de4dot.

This package contains development files for dnlib and will always pull in the current default version - and should be used for compilation.

There are three methods to install libdnlib-cil-dev on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libdnlib-cil-dev Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libdnlib-cil-dev using apt-get by running the following command:

sudo apt-get -y install libdnlib-cil-dev

Install libdnlib-cil-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libdnlib-cil-dev using apt by running the following command:

sudo apt -y install libdnlib-cil-dev

Install libdnlib-cil-dev Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libdnlib-cil-dev using aptitude by running the following command:

sudo aptitude -y install libdnlib-cil-dev

How To Uninstall libdnlib-cil-dev on Debian 12

To uninstall only the libdnlib-cil-dev package we can use the following command:

sudo apt-get remove libdnlib-cil-dev

Uninstall libdnlib-cil-dev And Its Dependencies

To uninstall libdnlib-cil-dev and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libdnlib-cil-dev

Remove libdnlib-cil-dev Configurations and Data

To remove libdnlib-cil-dev configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libdnlib-cil-dev

Remove libdnlib-cil-dev configuration, data, and all of its dependencies

We can use the following command to remove libdnlib-cil-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libdnlib-cil-dev

Dependencies

libdnlib-cil-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libdnlib-cil-dev package on Debian 12 using different package management tools: apt, apt-get and aptitude.