Install dpkg-dev by entering the following commands in the terminal:
sudo apt update sudo apt install dpkg-dev
Debian package development tools
This package provides the development tools (including dpkg-source) required to unpack, build and upload Debian source packages. . Most Debian source packages will require additional tools to build; for example, most packages need make and the C compiler gcc.