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