Installation guide


KERN-9 - Ubuntu 22.04

A new version of KERN is released roughly every year and is based on the latest Ubuntu LTS release. The current release of KERN is KERN-9 and is based on Ubuntu 22.04 (Jammy). To enable the KERN-9 repository on a Ubuntu 22.04 system run:


$ sudo apt-get install software-properties-common
$ sudo add-apt-repository -s ppa:kernsuite/kern-9
$ 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:9
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:9
%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 and KERN-8 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.