]>
Commit | Line | Data |
---|---|---|
9c83876f MT |
1 | {% extends "../base.html" %} |
2 | ||
3 | {% block title %}{{ _("Download") }}{% end block %} | |
4 | ||
5 | {% block container %} | |
6 | <section> | |
7 | <div class="container"> | |
8 | <div class="row"> | |
9 | <div class="col col-lg-6"> | |
10 | <h1 class="display-2">{{ _("Download") }}</h1> | |
11 | ||
12 | <p> | |
13 | Learn how to download and install <code>libloc</code> | |
14 | </p> | |
15 | </div> | |
16 | </div> | |
17 | </div> | |
18 | </section> | |
19 | ||
20 | <section class="inverse"> | |
21 | <div class="container"> | |
22 | <div class="row justify-content-between flex-lg-row-reverse"> | |
23 | <div class="col-12 col-lg-4 text-center text-lg-right"> | |
24 | <i class="fas fa-download fa-10x"></i> | |
25 | </div> | |
26 | ||
27 | <div class="col-12 col-lg-8"> | |
28 | <h1>{{ _("Source") }}</h1> | |
29 | ||
30 | <p> | |
31 | Build <code>libloc</code>, the software that powers IPFire Location | |
32 | from source. | |
33 | </p> | |
34 | ||
35 | <div class="btn-toolbar"> | |
36 | <a class="btn btn-secondary mr-2" href="https://source.ipfire.org/releases/libloc/"> | |
37 | {{ _("Download Source") }} | |
38 | </a> | |
39 | ||
40 | <a class="btn btn-secondary" href="https://git.ipfire.org/?p=location/libloc.git;a=summary"> | |
41 | {{ _("Browse Source") }} | |
42 | </a> | |
43 | </div> | |
44 | </div> | |
45 | </div> | |
46 | </div> | |
47 | </section> | |
48 | ||
49 | <section> | |
50 | <div class="container"> | |
51 | <p class="lead my-5"> | |
52 | We provide pre-compiled packages for various distributions to get you | |
53 | started with <code>libloc</code> quicker | |
54 | </p> | |
55 | ||
56 | <div class="row justify-content-center flex-lg-row-reverse"> | |
57 | <div class="col-12 col-sm-6 col-lg-2 text-center text-lg-right"> | |
58 | <img class="img-fluid w-100 my-5" src="{{ static_url("img/ipfire-tux.png") }}" | |
59 | alt="{{ _("IPFire") }}"> | |
60 | </div> | |
61 | ||
62 | <div class="col-12 col-lg-10"> | |
63 | <h1>{{ _("IPFire") }}</h1> | |
64 | ||
65 | <p> | |
66 | IPFire Location comes pre-installed with every IPFire system | |
67 | and powers firewall rules based on source/destination country | |
68 | as well as geographic reports. | |
69 | </p> | |
70 | </div> | |
71 | </div> | |
72 | ||
73 | <div class="row justify-content-center flex-lg-row-reverse"> | |
74 | <div class="col-12 col-sm-6 col-lg-2 text-center text-lg-right"> | |
75 | <img class="img-fluid w-100 my-5" src="{{ static_url("img/debian-logo.svg") }}" | |
76 | alt="{{ _("Debian") }}"> | |
77 | </div> | |
78 | ||
79 | <div class="col-12 col-lg-10"> | |
80 | <h1>{{ _("Debian") }}</h1> | |
81 | ||
82 | <p> | |
83 | The supported architectures are amd64, arm64, i386 and armhf. | |
84 | </p> | |
85 | ||
86 | {% for release in ("buster", "bullseye", "sid") %} | |
87 | <h4 class="mb-1">{{ _("Debian %s") % release }}</h4> | |
88 | ||
89 | <p> | |
90 | Create a new file <code>/etc/apt/sources.list.d/location.list</code> | |
91 | </p> | |
92 | ||
93 | <pre class="pre-light mb-4"><code>deb https://packages.ipfire.org/location {{ release }}/ | |
94 | deb-src https://packages.ipfire.org/location {{ release }}/</code></pre> | |
95 | {% end %} | |
96 | ||
97 | <p> | |
98 | All packages are cryptographically signed. | |
99 | To install the key, run this command: | |
100 | </p> | |
101 | ||
102 | <pre class="pre-light mb-4"><code>curl https://packages.ipfire.org/79842AA7CDBA7AE3-pub.asc | apt-key add -</code></pre> | |
103 | ||
104 | <p> | |
105 | Finally download the package lists and install <code>libloc</code> | |
106 | </p> | |
107 | ||
108 | <pre class="pre-light mb-4"><code>apt-get update | |
109 | apt-get install location</code></pre> | |
110 | </div> | |
111 | </div> | |
112 | </div> | |
113 | </section> | |
114 | {% end block %} |