How To Install libdnlib2.1-cil on Kali Linux

In this tutorial we learn how to install libdnlib2.1-cil on Kali Linux. libdnlib2.1-cil is .NET module/assembly reader/writer library for Mono

Introduction

In this tutorial we learn how to install libdnlib2.1-cil on Kali Linux.

What is libdnlib2.1-cil

libdnlib2.1-cil is:

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

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

Install libdnlib2.1-cil Using apt-get

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

sudo apt-get update

After updating apt database, We can install libdnlib2.1-cil using apt-get by running the following command:

sudo apt-get -y install libdnlib2.1-cil

Install libdnlib2.1-cil Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libdnlib2.1-cil using apt by running the following command:

sudo apt -y install libdnlib2.1-cil

Install libdnlib2.1-cil Using aptitude

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

sudo aptitude update

After updating apt database, We can install libdnlib2.1-cil using aptitude by running the following command:

sudo aptitude -y install libdnlib2.1-cil

How To Uninstall libdnlib2.1-cil on Kali Linux

To uninstall only the libdnlib2.1-cil package we can use the following command:

sudo apt-get remove libdnlib2.1-cil

Uninstall libdnlib2.1-cil And Its Dependencies

To uninstall libdnlib2.1-cil and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libdnlib2.1-cil

Remove libdnlib2.1-cil Configurations and Data

To remove libdnlib2.1-cil configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libdnlib2.1-cil

Remove libdnlib2.1-cil configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdnlib2.1-cil

Dependencies

libdnlib2.1-cil have the following dependencies:

References

Summary

In this tutorial we learn how to install libdnlib2.1-cil package on Kali Linux using different package management tools: apt, apt-get and aptitude.