How to Install and Uninstall pkg-config Package on Ubuntu 18.04 LTS (Bionic Beaver)

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 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install pkg-config

2. Uninstall "pkg-config" package

Please follow the guidance below to uninstall pkg-config on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the pkg-config package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: pkg-config
Architecture: amd64
Version: 0.29.1-0ubuntu2
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: 181
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-0ubuntu2_amd64.deb
Size: 45010
MD5sum: e708639de69d6d9f306f42299b5b7a5f
SHA1: a163167de57ff3009524bc409db9fdd8803f99e6
SHA256: 362e1f1573e97c5c2f5167721570fadfd5e23146472a293c002a62eca6417b07
Homepage: http://pkg-config.freedesktop.org
Description: manage compile and link flags for libraries
Description-md5: 5622d544b680cd37e49d3435959207a2
Task: lubuntu-qt-desktop
Supported: 5y