How To Install libndctl6 on Debian 11

In this tutorial we learn how to install libndctl6 on Debian 11. libndctl6 is Utility library for managing the libnvdimm subsystem

Introduction

In this tutorial we learn how to install libndctl6 on Debian 11.

What is libndctl6

libndctl6 is:

The nvdimm subsystem defines a kernel device model and control message interface for platform NVDIMM resources like those defined by the ACPI 6+ NFIT (NVDIMM Firmware Interface Table).

This package contains a utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel.

There are three methods to install libndctl6 on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libndctl6 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libndctl6

Install libndctl6 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libndctl6 using apt by running the following command:

sudo apt -y install libndctl6

Install libndctl6 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libndctl6

How To Uninstall libndctl6 on Debian 11

To uninstall only the libndctl6 package we can use the following command:

sudo apt-get remove libndctl6

Uninstall libndctl6 And Its Dependencies

To uninstall libndctl6 and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove libndctl6

Remove libndctl6 Configurations and Data

To remove libndctl6 configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge libndctl6

Remove libndctl6 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libndctl6

Dependencies

libndctl6 have the following dependencies:

References

Summary

In this tutorial we learn how to install libndctl6 package on Debian 11 using different package management tools: apt, apt-get and aptitude.