How To Install libkibi-dev on Debian 12

Learn how to install libkibi-dev on Debian 12 with this tutorial. libkibi-dev is library for byte prefixes (development files)

Introduction

In this tutorial we learn how to install libkibi-dev on Debian 12.

What is libkibi-dev

libkibi-dev is:

This library is designed for formatting sizes in bytes for display. The user can configure a preferred prefix style.

Three different types of byte prefixes can be selected:

  • kB, MB, GB with base 1000 (base10)
  • KiB, MiB, GiB with base 1024 (base2)
  • KB, MB, GB with base 1024 (historic)

This package contains the development files.

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

Install libkibi-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libkibi-dev

Install libkibi-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libkibi-dev

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

sudo aptitude -y install libkibi-dev

How To Uninstall libkibi-dev on Debian 12

To uninstall only the libkibi-dev package we can use the following command:

sudo apt-get remove libkibi-dev

Uninstall libkibi-dev And Its Dependencies

To uninstall libkibi-dev and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libkibi-dev

Remove libkibi-dev Configurations and Data

To remove libkibi-dev configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libkibi-dev

Remove libkibi-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libkibi-dev

Dependencies

libkibi-dev have the following dependencies:

References

Summary

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