How to Install and Uninstall pkg-config Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 05,2024

1. Install "pkg-config" package

Please follow the guidelines below to install pkg-config on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install pkg-config

2. Uninstall "pkg-config" package

Please follow the guidelines below to uninstall pkg-config on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the pkg-config package on Ubuntu 20.04 LTS (Focal Fossa)

Package: pkg-config
Architecture: amd64
Version: 0.29.1-0ubuntu4
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.1-0ubuntu4_amd64.deb
Size: 45492
MD5sum: 4aab6dfbc41ce05f482e2035130246c4
SHA1: a00a03cd2298b46b55ce33ac8a8bb0d53a27dd4a
SHA256: 232d000068dd94274851df482967857fae4613c662c40d6de607f68dd7225f90
Homepage: http://pkg-config.freedesktop.org
Description: manage compile and link flags for libraries
Description-md5: 5622d544b680cd37e49d3435959207a2
Task: ubuntu-desktop-minimal, ubuntu-desktop, xubuntu-core, xubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop