Installation guide


KERN-8 - Ubuntu 20.04

A new version of KERN is released roughly every 6 months and is based on the latest Ubuntu LTS release. The current release of KERN is KERN-8 and is based on Ubuntu 20.04 (Focal). To enable the KERN-8 repository on a Ubuntu 20.04 system run:


$ sudo apt-get install software-properties-common
$ sudo add-apt-repository -s ppa:kernsuite/kern-8
$ sudo apt-add-repository multiverse
$ sudo apt-add-repository restricted
$ sudo apt-get update

Now you are ready to install some packages, for example python3-casacore:


$ sudo apt-get install python3-casacore

Docker and singularity

You can use the following Dockerfile as a base for Docker and Singularity images:

FROM kernsuite/base:8
RUN docker-apt-install python3-casacore
We have added a docker-apt-install command to the image which is a wrapper around apt-get to first fetch the package list of the Ubuntu archive, install the requested package and finally clean up the temporary cache. This keeps the Docker image small. You can also bootstrap a Singularity image using the Docker image:

Bootstrap: docker
From:kernsuite/base:8
%post
    docker-apt-install python3-casacore

Older releases

The old releases are KERN-0 for Ubuntu 14.04, KERN-1, KERN-2, KERN-3 for Ubuntu 16.04. KERN-4, KERN-5 and KERN-6 for Ubuntu 18.04. KERN-7 for Ubuntu 20.04. These releases have reached end of live and are not supported anymore. You can still use them though, also inside Docker containers.