-
Notifications
You must be signed in to change notification settings - Fork 301
/
Copy pathindex-apt.html
63 lines (55 loc) · 1.67 KB
/
index-apt.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Language" content="en-us"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WeeWX: Installation using apt-get</title>
<style>
body{
font-family: Verdana,Helvetica,sans-serif;
margin-left: 1em;
margin-right: 1em;
}
h1 {
font-family: Arial,Helvetica,sans-serif;
margin-top: 2em;
margin-bottom: 0;
}
h2 {
font-family: Arial,Helvetica,sans-serif;
margin-top: 1.5em;
margin-bottom: 0;
}
.title {
font-size: 180%;
clear: left;
margin-top: 0px;
}
.tty {
font-family: "Courier New", Courier, monospace;
background-color: #eeeee0;
border: 1px solid #ddddaa;
padding: 3px 8px 3px 8px;
margin: 5px 15px 5px 15px;
webkit-border-radius: 6px;
moz-border-radius: 6px;
border-radius: 6px;
white-space: pre;
line-height: normal;
}
</style>
</head>
<body>
<h1 class="title">apt repository for WeeWX</h1>
<h2>Tell the system to trust weewx.com</h2>
<pre class='tty'>wget -qO - https://weewx.com/keys.html | sudo gpg --dearmor --output /etc/apt/trusted.gpg.d/weewx.gpg</pre>
<h2>Configure apt</h2>
<p>Run the following command to tell apt where to find the WeeWX Python 3 repository.</p>
<pre class='tty'>echo "deb [arch=all] https://weewx.com/apt/python3 buster main" | sudo tee /etc/apt/sources.list.d/weewx.list</pre>
<h2>Install and/or Upgrade WeeWX</h2>
<pre class='tty'>sudo apt-get update
sudo apt-get install weewx</pre>
</body>
</html>