Install gdc by entering the following commands in the terminal:
sudo apt update sudo apt install gdc
Description:
D compiler (language version 2), based on the GCC backend
This is a dependency package providing the default D compiler. Per policy, all packages that contain D sources must use this package in their Build-Depends line. . This compiler supports D language version 2.
Version: 4:8-20180321-2ubuntu2
Section: universe/devel