Skip to main content
Installing and using D on Code Ocean

Use apt-get and the postInstall script to install D and necessary libraries.

Updated over 2 years ago
  1. Open Code Ocean's custom package management system.

  2. Use apt-get to install build-essential

  3. In a postInstall script, enter: 

#!/bin/bash
curl -fsS https://dlang.org/install.sh | bash -s install ldc-1.6.0  

See the following two examples for more specific usage demonstrations:

Did this answer your question?