How To Install libpkgconf3 on Debian 11

In this tutorial we learn how to install libpkgconf3 on Debian 11. libpkgconf3 is shared library for pkgconf

Introduction

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

What is libpkgconf3

libpkgconf3 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 a shared library for libpkgconf.

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

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

sudo apt-get update

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

sudo apt-get -y install libpkgconf3

Install libpkgconf3 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpkgconf3

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

sudo aptitude -y install libpkgconf3

How To Uninstall libpkgconf3 on Debian 11

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

sudo apt-get remove libpkgconf3

Uninstall libpkgconf3 And Its Dependencies

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

sudo apt-get -y autoremove libpkgconf3

Remove libpkgconf3 Configurations and Data

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

sudo apt-get -y purge libpkgconf3

Remove libpkgconf3 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libpkgconf3

Dependencies

libpkgconf3 have the following dependencies:

References

Summary

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