Install libapt-pkg-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libapt-pkg-dev
Description:
development files for APT's libapt-pkg and libapt-inst
This package contains the header files and libraries for developing with APT's libapt-pkg Debian package manipulation library and the libapt-inst deb/tar/ar library.
Version: 1.6.1
Section: libdevel