How to Install and Uninstall pkg-config Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: April 29,2024

1. Install "pkg-config" package

Please follow the instructions below to install pkg-config on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install pkg-config

2. Uninstall "pkg-config" package

Please follow the guidelines below to uninstall pkg-config on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the pkg-config package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: pkg-config
Priority: optional
Section: devel
Installed-Size: 173
Maintainer: Ubuntu Developers
Original-Maintainer: Tollef Fog Heen
Architecture: amd64
Version: 0.29.1-0ubuntu1
Depends: libc6 (>= 2.14), libglib2.0-0 (>= 2.16.0), dpkg-dev, libdpkg-perl
Filename: pool/main/p/pkg-config/pkg-config_0.29.1-0ubuntu1_amd64.deb
Size: 44964
MD5sum: dc97b9f60298c65eab1c9effcfef1300
SHA1: a9d163358ecf9b63e51010cb9fa658ea5b404d41
SHA256: 2983008d529d1c0b0f3dacafab9c71cdea2efcddc575b33510abdd2e5f33c17e
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
Multi-Arch: foreign
Homepage: http://pkg-config.freedesktop.org
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: ubuntu-desktop, ubuntu-usb, edubuntu-desktop, edubuntu-usb, ubuntustudio-audio, ubuntu-sdk, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-mate-cloudtop