]> git.ipfire.org Git - ipfire.org.git/blob - src/templates/location/download.html
location: removed /projects from the path, updated all links
[ipfire.org.git] / src / templates / location / download.html
1 {% extends "../base.html" %}
2
3 {% block title %}{{ _("Download") }}{% end block %}
4
5 {% block container %}
6 <section class="hero is-primary">
7 <div class="hero-body">
8 <div class="container">
9 <nav class="breadcrumb" aria-label="breadcrumbs">
10 <ul>
11 <li>
12 <a href="/">
13 {{ _("Home") }}
14 </a>
15 </li>
16 <li>
17 <a href="/location">
18 {{ _("Location") }}
19 </a>
20 </li>
21 <li class="is-active">
22 <a href="#" aria-current="page">{{ _("Download") }}</a>
23 </li>
24 </ul>
25 </nav>
26
27 <h1 class="title">{{ _("Download IPFire Location") }}</h1>
28 <h6 class="subtitle">
29 Learn how to download and install <code>libloc</code>
30 </h6>
31 </div>
32 </div>
33 </section>
34
35 <section class="hero">
36 <div class="hero-body">
37 <div class="container">
38 <div class="columns is-vcentered">
39 <div class="column">
40 <h2 class="title is-2">{{ _("Source") }}</h2>
41
42 <div class="block">
43 <p>
44 Build <code>libloc</code>, the software that powers IPFire Location
45 from source.
46 </p>
47 </div>
48
49 <div class="buttons">
50 <a class="button is-light" href="https://source.ipfire.org/releases/libloc/">
51 {{ _("Download Source") }}
52 </a>
53
54 <a class="button is-light" href="https://git.ipfire.org/?p=location/libloc.git;a=summary">
55 {{ _("Browse Source") }}
56 </a>
57 </div>
58 </div>
59
60 <div class="column is-narrow">
61 <i class="fas fa-download fa-10x"></i>
62 </div>
63 </div>
64 </div>
65 </div>
66 </section>
67
68 <section class="hero">
69 <div class="hero-body">
70 <div class="container">
71 <div class="block">
72 <p>
73 We provide pre-compiled packages for various distributions to get you
74 started with <code>libloc</code> quicker
75 </p>
76 </div>
77
78 <div class="columns is-vcentered">
79 <div class="column">
80 <h2 class="title is-2">{{ _("IPFire") }}</h2>
81
82 <p>
83 IPFire Location comes pre-installed with every IPFire system
84 and powers firewall rules based on source/destination country
85 as well as geographic reports.
86 </p>
87 </div>
88
89 <div class="column is-narrow">
90 <figure class="image is-256by256">
91 <img src="{{ static_url("img/ipfire-tux.png") }}"
92 alt="{{ _("IPFire") }}">
93 </figure>
94 </div>
95 </div>
96
97 <div class="columns is-vcentered">
98 <div class="column">
99 <h2 class="title is-2">{{ _("Debian") }}</h2>
100
101 <p>
102 The supported architectures are amd64, arm64, i386 and armhf.
103 </p>
104 </div>
105
106 <div class="column is-narrow">
107 <figure class="image is-256by256">
108 <img src="{{ static_url("img/debian-logo.svg") }}"
109 alt="{{ _("Debian") }}">
110 </figure>
111 </div>
112 </div>
113
114 {% for release in ("buster", "bullseye", "sid") %}
115 <h4 class="title is-4">{{ _("Debian %s") % release }}</h4>
116
117 <div class="block">
118 <p>
119 Create a new file <code>/etc/apt/sources.list.d/location.list</code>
120 </p>
121 </div>
122
123 <div class="block">
124 <pre><code>deb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;https://packages.ipfire.org/location {{ release }}/
125 deb-src&nbsp;https://packages.ipfire.org/location {{ release }}/</code></pre>
126 </div>
127 {% end %}
128
129 <div class="block">
130 <p>
131 All packages are cryptographically signed.
132 To install the key, run this command:
133 </p>
134 </div>
135
136 <div class="block">
137 <pre><code>curl https://packages.ipfire.org/79842AA7CDBA7AE3-pub.asc | apt-key add -</code></pre>
138 </div>
139
140 <div class="block">
141 <p>
142 Finally download the package lists and install <code>libloc</code>
143 </p>
144 </div>
145
146 <div class="block">
147 <pre class="pre-light mb-4"><code>apt-get update
148 apt-get install location</code></pre>
149 </div>
150 </div>
151 </div>
152 </section>
153 {% end block %}