How To Install libpkgconf-dev on Kali Linux

In this tutorial we learn how to install libpkgconf-dev on Kali Linux. libpkgconf-dev is development files for pkgconf

Introduction

In this tutorial we learn how to install libpkgconf-dev on Kali Linux.

What is libpkgconf-dev

libpkgconf-dev is:

pkgconf is a replacement for pkg-config, a system for managing library compile and link flags that works with automake and autoconf.

pkgconf does not bundle any third-party libraries or depend on any third-party libraries.

libpkgconf is a library which provides access to most of pkgconf’s functionality, to allow other tooling such as compilers and IDEs to discover and use libraries configured by pkgconf.

This package ships development files for libpkgconf.

There are three methods to install libpkgconf-dev 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 libpkgconf-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 libpkgconf-dev using apt-get by running the following command:

sudo apt-get -y install libpkgconf-dev

Install libpkgconf-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpkgconf-dev

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

sudo aptitude -y install libpkgconf-dev

How To Uninstall libpkgconf-dev on Kali Linux

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

sudo apt-get remove libpkgconf-dev

Uninstall libpkgconf-dev And Its Dependencies

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

sudo apt-get -y autoremove libpkgconf-dev

Remove libpkgconf-dev Configurations and Data

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

sudo apt-get -y purge libpkgconf-dev

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

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

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

Dependencies

libpkgconf-dev have the following dependencies:

References

Summary

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