How To Install libimvirt-perl on Kali Linux

In this tutorial we learn how to install libimvirt-perl on Kali Linux. libimvirt-perl is Perl module for detecting several virtualizations

Introduction

In this tutorial we learn how to install libimvirt-perl on Kali Linux.

What is libimvirt-perl

libimvirt-perl is:

This Perl module ImVirt is able to determine, on which virtualization it is running.

In this version it is able to detect the following virtualization technologies: ARAnyM KVM lguest LXC OpenVZ/Virtuozzo QEMU UML VMware GSX, ESX, Workstation Virtual PC/Virtual Server VirtualBox Xen (para and non-para virtualized)

And much more.

There are three methods to install libimvirt-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 libimvirt-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 libimvirt-perl using apt-get by running the following command:

sudo apt-get -y install libimvirt-perl

Install libimvirt-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libimvirt-perl

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

sudo aptitude -y install libimvirt-perl

How To Uninstall libimvirt-perl on Kali Linux

To uninstall only the libimvirt-perl package we can use the following command:

sudo apt-get remove libimvirt-perl

Uninstall libimvirt-perl And Its Dependencies

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

sudo apt-get -y autoremove libimvirt-perl

Remove libimvirt-perl Configurations and Data

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

sudo apt-get -y purge libimvirt-perl

Remove libimvirt-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libimvirt-perl

Dependencies

libimvirt-perl have the following dependencies:

References

Summary

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