-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
77 lines (60 loc) · 2.47 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---
---
{% include header.html %}
<div class="container">
<div class="row justify-content-md-center">
<div class="col col-lg-8 bg-light border border-white">
<h1 class="page-title">Installation guide</h1>
<hr>
<h2 class="page-title">KERN-9 - Ubuntu 22.04</h2>
<p>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:
</p>
<figure class="code">
<pre><code>
$ 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
</code></pre>
</figure>
<p>Now you are ready to install some packages, for example python3-casacore:</p>
<figure class="code">
<pre><code>
$ sudo apt-get install python3-casacore
</code></pre>
</figure>
<hr>
<h2 class="page-title">Docker and singularity</h2>
You can use the following Dockerfile as a base for <a href="https://www.docker.com/">Docker</a>
and <a href="http://singularity.lbl.gov/">Singularity</a> images:
<figure class="code">
<pre><code>
FROM kernsuite/base:9
RUN docker-apt-install python3-casacore
</code></pre>
</figure>
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:
<figure class="code">
<pre><code>
Bootstrap: docker
From:kernsuite/base:9
%post
docker-apt-install python3-casacore
</code></pre>
</figure>
<hr>
<h2 class="page-title">Older releases</h2>
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.
</div>
</div>
</div>