How To Install imvirt-helper on Ubuntu 18.04

In this tutorial we learn how to install imvirt-helper on Ubuntu 18.04. imvirt-helper is helper programs to detect several virtualizations

Introduction

In this tutorial we learn how to install imvirt-helper on Ubuntu 18.04.

What is imvirt-helper

imvirt-helper is:

This package includes several helper programs from imvirt to test for several virtualizations.

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 imvirt-helper on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install imvirt-helper Using apt-get

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

sudo apt-get update

After updating apt database, We can install imvirt-helper using apt-get by running the following command:

sudo apt-get -y install imvirt-helper

Install imvirt-helper Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install imvirt-helper

Install imvirt-helper 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install imvirt-helper using aptitude by running the following command:

sudo aptitude -y install imvirt-helper

How To Uninstall imvirt-helper on Ubuntu 18.04

To uninstall only the imvirt-helper package we can use the following command:

sudo apt-get remove imvirt-helper

Uninstall imvirt-helper And Its Dependencies

To uninstall imvirt-helper and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove imvirt-helper

Remove imvirt-helper Configurations and Data

To remove imvirt-helper configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge imvirt-helper

Remove imvirt-helper configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge imvirt-helper

References

Summary

In this tutorial we learn how to install imvirt-helper package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.