summaryrefslogtreecommitdiff
path: root/doc/sphinx/frags/installing-debian.rst
blob: 24f4d20f470f2ece83399b52484f41362a92b96a (plain)
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
To install the GNU Taler Debian packages, first ensure that you have
the right Debian distribution. At this time, the packages are built for
Sid, which means you should use a system which at least includes
unstable packages in its source list.  We recommend using APT pinning
to limit unstable packages to those explicitly requested. To do this,
set your ``/etc/apt/preferences`` as follows:

.. code-block::

   Package: *
   Pin: release a=stable
   Pin-Priority: 700

   Package: *
   Pin: release a=testing
   Pin-Priority: 650

   Package: *
   Pin: release a=unstable
   Pin-Priority: 600

   Package: *
   Pin: release l=Debian-Security
   Pin-Priority: 1000

A typical ``/etc/apt/sources.list`` file for this setup
which combines Debian stable with more recent packages
from testing and unstable would look like this:

.. code-block::

   deb http://ftp.ch.debian.org/debian/ buster main
   deb http://security.debian.org/debian-security buster/updates main
   deb http://ftp.ch.debian.org/debian/ testing main
   deb http://ftp.ch.debian.org/debian/ unstable main

Naturally, you may want to use different mirrors depending on your region.
Additionally, you must add a file to import the GNU Taler packages. Typically,
this is done by adding a file ``/etc/apt/sources.list.d/taler.list`` that
looks like this:

.. code-block::

   deb https://deb.taler.net/apt/debian sid main

Next, you must import the Taler Systems SA public package signing key
into your keyring and update the package lists:

.. code-block:: console

   # wget -O - https://taler.net/taler-systems.gpg.key | apt-key add -
   # apt update

.. note::

   You may want to verify the correctness of the Taler Systems key out-of-band.

Now your system is ready to install the official GNU Taler binary packages
using apt.