--- /dev/null
+{% extends "../base.html" %}
+
+{% block title %}{{ _("Download") }}{% end block %}
+
+{% block container %}
+ <section>
+ <div class="container">
+ <div class="row">
+ <div class="col col-lg-6">
+ <h1 class="display-2">{{ _("Download") }}</h1>
+
+ <p>
+ Learn how to download and install <code>libloc</code>
+ </p>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <section class="inverse">
+ <div class="container">
+ <div class="row justify-content-between flex-lg-row-reverse">
+ <div class="col-12 col-lg-4 text-center text-lg-right">
+ <i class="fas fa-download fa-10x"></i>
+ </div>
+
+ <div class="col-12 col-lg-8">
+ <h1>{{ _("Source") }}</h1>
+
+ <p>
+ Build <code>libloc</code>, the software that powers IPFire Location
+ from source.
+ </p>
+
+ <div class="btn-toolbar">
+ <a class="btn btn-secondary mr-2" href="https://source.ipfire.org/releases/libloc/">
+ {{ _("Download Source") }}
+ </a>
+
+ <a class="btn btn-secondary" href="https://git.ipfire.org/?p=location/libloc.git;a=summary">
+ {{ _("Browse Source") }}
+ </a>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <section>
+ <div class="container">
+ <p class="lead my-5">
+ We provide pre-compiled packages for various distributions to get you
+ started with <code>libloc</code> quicker
+ </p>
+
+ <div class="row justify-content-center flex-lg-row-reverse">
+ <div class="col-12 col-sm-6 col-lg-2 text-center text-lg-right">
+ <img class="img-fluid w-100 my-5" src="{{ static_url("img/ipfire-tux.png") }}"
+ alt="{{ _("IPFire") }}">
+ </div>
+
+ <div class="col-12 col-lg-10">
+ <h1>{{ _("IPFire") }}</h1>
+
+ <p>
+ IPFire Location comes pre-installed with every IPFire system
+ and powers firewall rules based on source/destination country
+ as well as geographic reports.
+ </p>
+ </div>
+ </div>
+
+ <div class="row justify-content-center flex-lg-row-reverse">
+ <div class="col-12 col-sm-6 col-lg-2 text-center text-lg-right">
+ <img class="img-fluid w-100 my-5" src="{{ static_url("img/debian-logo.svg") }}"
+ alt="{{ _("Debian") }}">
+ </div>
+
+ <div class="col-12 col-lg-10">
+ <h1>{{ _("Debian") }}</h1>
+
+ <p>
+ The supported architectures are amd64, arm64, i386 and armhf.
+ </p>
+
+ {% for release in ("buster", "bullseye", "sid") %}
+ <h4 class="mb-1">{{ _("Debian %s") % release }}</h4>
+
+ <p>
+ Create a new file <code>/etc/apt/sources.list.d/location.list</code>
+ </p>
+
+ <pre class="pre-light mb-4"><code>deb https://packages.ipfire.org/location {{ release }}/
+deb-src https://packages.ipfire.org/location {{ release }}/</code></pre>
+ {% end %}
+
+ <p>
+ All packages are cryptographically signed.
+ To install the key, run this command:
+ </p>
+
+ <pre class="pre-light mb-4"><code>curl https://packages.ipfire.org/79842AA7CDBA7AE3-pub.asc | apt-key add -</code></pre>
+
+ <p>
+ Finally download the package lists and install <code>libloc</code>
+ </p>
+
+ <pre class="pre-light mb-4"><code>apt-get update
+apt-get install location</code></pre>
+ </div>
+ </div>
+ </div>
+ </section>
+{% end block %}