summaryrefslogtreecommitdiff
path: root/frags/installing-debian.rst
blob: 3c6cac6e4536bdd025ee26786c485c825c7023be (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
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
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
   deb https://deb.taler.net/apt/debian sid main

The last line is crucial, as it adds the GNU Taler packages.

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-sign 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.