2020-08-18: Ubuntu 20.04 Upgrade
CoCalc’s default software environment for new projects changed: It is based on Ubuntu 20.04 now!
Just like before, updates are performed on a regular basis. If something is missing, out of date, broken, or not quite ok, please let us know!
Ubuntu is based on Python3. This means
pipis for version 3 now! In doubt, be explicit with
Python 2: is installed, but not maintained and only a small selection of still available packages installed. Maybe stay with Ubuntu 18.04 if you still need it!
Python 3: this updated to version 3.8, and contains a lot of pre-installed packages. In particular, almost all that were present in the previous environment are also installed here.
Anaconda 2020: a new setup, based on Python 3.7. It contains almost all of the installed packages of the previous Anaconda 2019 environment. Start it via
Version 9.1 is the default now. This implies that Sage Worksheets will use the Python 3 syntax now. More information from the Sage project: https://wiki.sagemath.org/Python3-user
For older versions of Sage and the previous behavior of Sage Worksheets (8.9), switch to use Ubuntu 18.04.
Discontinued a “development version”, because it is too hard to maintain and if you really work with it, you need to have write access to all files and hence it must reside in your own project.
- R Software Environment:
This runs the official build of R at version 4. Many packages are already installed.
There is also a smaller R environment inside of Sage (
rstanfails to compile due to a conflict with the global Node.js 12 setup.
Version 1.5 is installed, along with a selection of additional packages.
The default Ubuntu 20.04 textlive 2019 distribution.
The general future direction of CoCalc serving LEAN/mathlib will be to pin the version and not make frequent changes.
Initially, CoCalc is using the same setup as the newer one of codewars.com, i.e.
3.11.0+ mathlib 51e2b4c
In the future, we will work on supporting a local project setup (see e.g. issue #3589) via
This setup is on-par with Ubuntu 18.04. In both cases built from 5.2.0 sources and a couple of packages are added.
Updated to version 6. As usual, start it in the terminal via start-root and then call root or use the Jupyter Kernel.
The jupyter kernels for C++ and ROOT are updated.
Continue using Ubuntu 18.04
It is possible to switch back to the previous Ubuntu 18.04 software environment. Select the environment you want to run in Project Settings → Project Control → Software Environment.
You can also define the software environment for all student projects in a course. That’s in the course configuration, at the bottom, in the “Software environment” panel.
Future of Ubuntu 18.04
The previous “Default” Ubuntu 18.04 based environment will stay around at CoCalc for the foreseeable future. There won’t be frequent upgrades any more, though. The focus of maintenance shifts towards supporting 20.04!
If you experience any problems or if you discover that some packages are missing, please report to us at mailto:email@example.com.