How To Install pmdk-convert on Ubuntu 20.04
Introduction
In this tutorial we learn how to install pmdk-convert
on Ubuntu 20.04.
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 Ubuntu 20.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 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 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 pmdk-convert
using aptitude
by running the following command:
sudo aptitude -y install pmdk-convert
How To Uninstall pmdk-convert on Ubuntu 20.04
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 Ubuntu 20.04, 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 Ubuntu 20.04 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
References
Summary
In this tutorial we learn how to install pmdk-convert
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.