Open Code Ocean's custom package management system. Next, use apt-get to install build-essential . Then, in a setup script, use the command curl -fsS | bash -s install ldc-1.6.0  to install dlang. 

See the following two examples for more specific usage demonstrations:
Note that the second example also installs supplementary D libraries via the setup script.

Did this answer your question?