Installing and using D on Code Ocean

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

Shahar Zaks avatar
Written by Shahar Zaks
Updated over a week 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?