Install librpm-dev by entering the following commands in the terminal:
sudo apt update sudo apt install librpm-dev
Description:
RPM shared library, development kit
The RPM Package Manager (RPM) is a command-line driven package management system capable of installing, uninstalling, verifying, querying, and updating computer software packages. . This package provides the development kit, containing static libraries and header files necessary to build programs that use librpm.
Homepage: http://rpm.org/
Version: 4.14.1+dfsg1-2
Section: universe/libdevel