How to Install and Uninstall pkg-config Package on Ubuntu 21.10 (Impish Indri)

Last updated: April 29,2024

1. Install "pkg-config" package

In this section, we are going to explain the necessary steps to install pkg-config on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install pkg-config

2. Uninstall "pkg-config" package

Please follow the steps below to uninstall pkg-config on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove pkg-config $ sudo apt autoclean && sudo apt autoremove

3. Information about the pkg-config package on Ubuntu 21.10 (Impish Indri)

Package: pkg-config
Architecture: amd64
Version: 0.29.2-1ubuntu1
Multi-Arch: foreign
Priority: optional
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Tollef Fog Heen
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 190
Depends: libc6 (>= 2.14), libglib2.0-0 (>= 2.16.0), libdpkg-perl
Suggests: dpkg-dev
Conflicts: pkg-config-bin
Replaces: pkg-config-bin
Filename: pool/main/p/pkg-config/pkg-config_0.29.2-1ubuntu1_amd64.deb
Size: 46152
MD5sum: 28ebf4f945470dae2dcd3e332166253f
SHA1: c4e6f2ef6f55a010e2dfd96c74ed797a294c13f3
SHA256: 988eb50c89108271bb4acc9e4f45b1a8a17ba75862ea1cfbc63406f5f98180e7
SHA512: 677b12517e361551592ab2e416ffa828bb8d82de00dfdc9fd595141320bdf08d0a1704f633aa723e7a3e898430a52ce9a4cc24368bd94790de8bb88111a68c8c
Homepage: http://pkg-config.freedesktop.org
Description-en: manage compile and link flags for libraries
pkg-config is a system for managing library compile and link flags that
works with automake and autoconf.
.
Increasingly libraries ship with ".pc" files that allow querying of the
compiler and linker flags needed to use them through the pkg-config(1)
program.
Description-md5: 5622d544b680cd37e49d3435959207a2
Task: ubuntu-desktop-minimal, ubuntu-desktop, xubuntu-core, xubuntu-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop, ubuntu-budgie-desktop-raspi