Install dub by entering the following commands in the terminal:
sudo apt update sudo apt install dub
Package and build management system for D
DUB is a build tool for D projects with support for automatically retrieving dependencies and integrating them in the build process. . Its design emphasis is on maximum simplicity for simple projects, while providing the opportunity to customize things when needed.