Skip to content
Tobias Blomberg edited this page Jul 26, 2024 · 77 revisions

This is a quick instruction on how to install svxlink from source code.

Configure some Raspberry stuff (optional)

sudo raspi-config

Load packages (to be verified!)

sudo apt update
sudo apt install g++ cmake make libsigc++-2.0-dev libgsm1-dev libpopt-dev tcl-dev libgcrypt20-dev libspeex-dev libasound2-dev libopus-dev librtlsdr-dev doxygen groff alsa-utils vorbis-tools curl libcurl4-openssl-dev git rtl-sdr libcurl4-openssl-dev cmake libjsoncpp-dev libgpiod-dev libssl-dev
sudo useradd -rG audio,plugdev,gpio,dialout 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

Swedish:

cd /usr/share/svxlink/sounds/
sudo curl -LO https://github.com/sm0svx/svxlink-sounds-sv_SE-elin/releases/download/19.09.99.4/svxlink-sounds-sv_SE-elin-16k-19.09.99.4.tar.bz2
sudo tar xvjf svxlink-sounds-sv_SE-elin-16k-19.09.99.4.tar.bz2
sudo ln -s sv_SE-elin-16k sv_SE

English:

cd /usr/share/svxlink/sounds/
sudo curl -LO https://github.com/sm0svx/svxlink-sounds-en_US-heather/releases/download/24.02/svxlink-sounds-en_US-heather-16k-24.02.tar.bz2
sudo tar xvjf svxlink-sounds-en_US-heather-16k-24.02.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

Upgrade to the latest pre-release

2024-07-25:

The latest pre-release software has a new package dependency libssl-dev. It is also recommended to add an additional parameter in svxlink.conf CERT_EMAIL=[email protected],[email protected] in ReflectorLogic section.

sudo apt install libssl-dev
cd svxlink/src/build
git pull
make -j4
make doc
sudo make install
sudo ldconfig
sudo systemctl restart svxlink

Check if the node was started correctly without issues.

tail -F -n 100 /var/log/svxlink
Clone this wiki locally