Install libpolkit-agent-1-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libpolkit-agent-1-dev
PolicyKit Authentication Agent API - development files
PolicyKit is a toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes. . This package contains the development files for the library found in libpolkit-agent-1-0.