How To Install libsnmp-mib-compiler-perl on Kali Linux

In this tutorial we learn how to install libsnmp-mib-compiler-perl on Kali Linux. libsnmp-mib-compiler-perl is MIB Compiler supporting SMIv1 and SMIv2

Introduction

In this tutorial we learn how to install libsnmp-mib-compiler-perl on Kali Linux.

What is libsnmp-mib-compiler-perl

libsnmp-mib-compiler-perl is:

SNMP::MIB::Compiler is a MIB compiler that fully supports both SMI(v1) and SMIv2. This module can be use to compile MIBs (recursively or not) or load already compiled MIBs for later use.

There are three methods to install libsnmp-mib-compiler-perl 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 libsnmp-mib-compiler-perl Using apt-get

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

sudo apt-get update

After updating apt database, We can install libsnmp-mib-compiler-perl using apt-get by running the following command:

sudo apt-get -y install libsnmp-mib-compiler-perl

Install libsnmp-mib-compiler-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libsnmp-mib-compiler-perl using apt by running the following command:

sudo apt -y install libsnmp-mib-compiler-perl

Install libsnmp-mib-compiler-perl 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 libsnmp-mib-compiler-perl using aptitude by running the following command:

sudo aptitude -y install libsnmp-mib-compiler-perl

How To Uninstall libsnmp-mib-compiler-perl on Kali Linux

To uninstall only the libsnmp-mib-compiler-perl package we can use the following command:

sudo apt-get remove libsnmp-mib-compiler-perl

Uninstall libsnmp-mib-compiler-perl And Its Dependencies

To uninstall libsnmp-mib-compiler-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libsnmp-mib-compiler-perl

Remove libsnmp-mib-compiler-perl Configurations and Data

To remove libsnmp-mib-compiler-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libsnmp-mib-compiler-perl

Remove libsnmp-mib-compiler-perl configuration, data, and all of its dependencies

We can use the following command to remove libsnmp-mib-compiler-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libsnmp-mib-compiler-perl

Dependencies

libsnmp-mib-compiler-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libsnmp-mib-compiler-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.