How To Install pmdk-convert on Kali Linux

In this tutorial we learn how to install pmdk-convert on Kali Linux. pmdk-convert is convert pmdk/pmemobj pools to a newer on-memory format

Introduction

In this tutorial we learn how to install pmdk-convert on Kali Linux.

What is pmdk-convert

pmdk-convert is:

The on-memory format of data pools used by libpmemobj is not compatible between major releases, and the library doesn’t currently support automatic conversion. Such upgrades need to be done manually, by this tool.

This version supports formats of PMDK up to 1.7. Upgrades to any prior version are supported as well, but no downgrades.

There are three methods to install pmdk-convert 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 pmdk-convert Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install pmdk-convert

Install pmdk-convert Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pmdk-convert

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

sudo aptitude -y install pmdk-convert

How To Uninstall pmdk-convert on Kali Linux

To uninstall only the pmdk-convert package we can use the following command:

sudo apt-get remove pmdk-convert

Uninstall pmdk-convert And Its Dependencies

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

sudo apt-get -y autoremove pmdk-convert

Remove pmdk-convert Configurations and Data

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

sudo apt-get -y purge pmdk-convert

Remove pmdk-convert configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pmdk-convert

Dependencies

pmdk-convert have the following dependencies:

References

Summary

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