Install dh-dlang by entering the following commands in the terminal:
sudo apt update sudo apt install dh-dlang
Packaging helpers for building D code
This package contains common code for building D software for the Debian (and derivatives) archive. . It currently contains a debian/rules snippet for selecting the appropriate D build flags based on the default D compiler set for the current architecture.