Go to Code Ocean
All Collections
Tips and Tricks
Tips and Tricks
Quick answers to particular technical questions.
24 articles in this collection
Written by
Shahar Zaks
Installation tips
Installing and using Conda via postInstall
Written by
Shahar Zaks
Updated over a week ago
How do I find a particular file in the environment
Use the Linux command "find."
Written by
Shahar Zaks
Updated over a week ago
Binaries on Code Ocean: compiling and executing (e.g., MEX files in MATLAB)
For all binaries and executables, please include source code whenever possible.
Written by
Shahar Zaks
Updated over a week ago
Missing libXt.so.6: installing X11 dependencies
Fix "libXt.so.6: cannot open shared object file: No such file or directory" when installing GR.jl, VTK, or other graphics libraries
Written by
Shahar Zaks
Updated over a week ago
Fixing GR.jl error `GKS: can't open display on ""`
GR.jl needs to be configured to work on Code Ocean (or any other headless system)
Written by
Shahar Zaks
Updated over a week ago
New and additional languages, toolboxes and compilers
Installing R in a non-R environment, or updating to the most recent version
How to add a recent R version to any environment
Written by
Shahar Zaks
Updated over a week ago
Installing Python 2.7 on Code Ocean
Start from a python 3 environment (with Conda) and install python version 2.7.15
Written by
Shahar Zaks
Updated over a week ago
Adding Julia to your capsule's environment via the postInstall and run scripts
A short postInstall script and a few commands in your run script will take care of it.
Written by
Shahar Zaks
Updated over a week ago
Installing mono on Code Ocean (to run C# code)
Mono is an open source implementation of Microsoft's .NET Framework.
Written by
Shahar Zaks
Updated over a week ago
Installing and using D on Code Ocean
Use apt-get and the postInstall script to install D and necessary libraries.
Written by
Shahar Zaks
Updated over a week ago
Installing gcc 6 or 7 on Ubuntu 16.04
Written by
Shahar Zaks
Updated over a week ago
Installing GNU PSPP
An alternative to SPSS
Written by
Shahar Zaks
Updated over a week ago
Using IDL (by installing GDL) on Code Ocean
GNU Data Language to the rescue.
Written by
Shahar Zaks
Updated over a week ago
Installing LaTeX on Code Ocean
It requires just a few apt-get packages.
Written by
Shahar Zaks
Updated over a week ago
Using the MATLAB Communications System Toolbox
The toolbox requires additional apt-get dependencies to run on Code Ocean.
Written by
Shahar Zaks
Updated over a week ago
Installing Modelica on Code Ocean
Installation through the apt-get package manager and the postInstall script.
Written by
Shahar Zaks
Updated over a week ago
Installing MOSEK on Code Ocean
in Python, MATLAB, and R.
Written by
Shahar Zaks
Updated over a week ago
Using VHDL (by installing GHDL) on Code Ocean
Executing VHSIC Hardware Description Language on Code Ocean.
Written by
Shahar Zaks
Updated over a week ago
Language-specific issues
Publishing Maven projects on Code Ocean
How to avoid a common pitfall by baking Java dependencies into the environment
Written by
Shahar Zaks
Updated over a week ago
Using matplotlib with no display attached
Solving "RuntimeError: Invalid DISPLAY variable" in Python.
Written by
Shahar Zaks
Updated over a week ago
Using Stata on Code Ocean
Packages, image rendering, and command line execution.
Written by
Shahar Zaks
Updated over a week ago
Installing OpenCV for Python
Solving "No matching distribution found for opencv-python."
Written by
Shahar Zaks
Updated over a week ago
Installing user-provided MATLAB toolboxes
Downloading and installing CVX, VLFeat, MOSEK, YALMIP, etc. using postInstall functionality.
Written by
Shahar Zaks
Updated over a week ago
Missing Python header files
Installing development headers and static libraries using apt-get.
Written by
Shahar Zaks
Updated over a week ago