Raspberry TALER

Is it possible to install TALER on Raspberry Pi? If yes, how? :slight_smile:
I think it could be nice to have a portable small TALER server for mobile or event situations which can be plugged into to local network (and maybe even works without external network aka internet).
If this question is not a good question (or even nonsense), let me (and maybe others searching later) learn why.

3 Likes

Hi Sascha,

yes, TALER works on a Raspberry PI, and Christian Grothoff from the dev team had just done that the other day. Here is a script that he used to create to install the dependencies for a build environment for the Taler exchange and then build and install the exchange. His caveat: “The building process is painful and slow”.

#!/bin/sh
apt install $(echo "autoconf
automake
autopoint 
cryptsetup
debhelper-compat
gettext 
iptables 
libbluetooth-dev 
libcurl4-gnutls-dev
libextractor-dev
libgcrypt20-dev
libgnutls28-dev
libidn2-dev 
libjansson-dev 
libltdl-dev
libmicrohttpd-dev
libogg-dev
libopus-dev
libpq-dev
libpulse-dev
libsodium-dev
libsqlite3-dev
libunistring-dev
libzbar-dev
miniupnpc 
net-tools 
po-debconf 
python3-dev 
python3-jinja2
jq
texinfo
zlib1g-dev")
apt install git recutils 
git clone git://git.taler.net/exchange.git
git clone git://git.gnunet.org/gnunet.git
cd gnunet
./bootstrap
./configure
cd src/include
make install
cd ../lib
make install
cd ../../exchange
./bootstrap
./configure --with-gnunet=/usr/local
make install
cd 
wget https://exchange.demo.taler.net/seed
wget https://exchange.chf.taler.net/seed
wget https://exchange.e.netzbon-basel.ch/seed
echo "/usr/local/lib" >> /etc/ld.so.conf
ldconfig
mkdir -p .local/share/taler-exchange
mkdir -p /mnt/secrets /mnt/image

It should be easy to extend or alter the script to install other Taler components - such as the merchant or wallet-core with the wallet-cli.

In the long run, we will need to provide debian packages for ARM for each of the Taler components, just as we do for amd64.

Cheers,
Özgür

5 Likes

Thank you very much! :slight_smile: Did he test on a recent Raspberry Pi 5? Or an older modell? (Just out of curiousity if the slowness is due to an older modell or not enough RAM).