Skip to content
Gunnar edited this page Jul 23, 2019 · 80 revisions

Raspberry Pi

This is a quick instruction on how to install svxlink from source code. An easier way is to use precompiled packageas already available in the latest Raspbian release.

Link to the old instruction InstallSrcHwRpiOld

Configure some Raspberry stuff (optional)

sudo raspi-config

Load packages (verified for Raspbian Buster 2019-07-23)

sudo apt install g++ cmake make libsigc++-2.0-dev libgsm1-dev libpopt-dev tcl8.5-dev libgcrypt20-dev libspeex-dev libasound2-dev libopus-dev librtlsdr-dev doxygen groff alsa-utils vorbis-tools curl libcurl4-openssl-dev git rtl-sdr
sudo useradd -rG audio,plugdev,gpio svxlink

Download the software from Github and compile

git clone http://github.com/sm0svx/svxlink.git
mkdir svxlink/src/build
cd svxlink/src/build
cmake -DUSE_QT=OFF -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc -DLOCAL_STATE_DIR=/var -DWITH_SYSTEMD=ON ..
make -j4
make doc
sudo make install
sudo ldconfig

Download Sounds

cd /usr/share/svxlink/sounds/
sudo curl -LO https://github.com/sm0svx/svxlink-sounds-sv_SE-elin/releases/download/next/svxlink-sounds-sv_SE-elin-16k-next.tar.bz2
sudo tar xvjf svxlink-sounds-sv_SE-elin-16k-next.tar.bz2
sudo ln -s sv_SE-elin-16k sv_SE
sudo curl -LO https://github.com/sm0svx/svxlink-sounds-en_US-heather/releases/download/14.08/svxlink-sounds-en_US-heather-16k-13.12.tar.bz2
sudo tar xvjf svxlink-sounds-en_US-heather-16k-13.12.tar.bz2
sudo ln -s en_US-heather-16k en_US
sudo systemctl enable --now svxlink
sudo systemctl start svxlink
sudo systemctl stop svxlink

Monitor logfile

tail -f /var/log/svxlink

GPIO Configuration

TODO

Clone this wiki locally