InstallSrcDebian

Tobias Blomberg edited this page Dec 30, 2017 · 9 revisions

Installation instructions for Debian 9 (Stretch)

This instruction was written for the 17.12 release of SvxLink.

SvxLink packages are available in the Debian repositories but if you want to compile the latest version, follow this guide.

First, install a couple of packages that SvxLink depend on. In a terminal, type the following commands as user 'root'.

apt update
apt install g++ cmake make libsigc++-2.0-dev libgsm1-dev libpopt-dev tcl8.5-dev libgcrypt11-dev libspeex-dev libasound2-dev libopus-dev librtlsdr-dev doxygen groff alsa-utils vorbis-tools curl

If you need Qtel you also need the QT development libraries.

apt install qtbase5-dev qttools5-dev-tools

Download and compile the source code and then install it:

curl -Lo svxlink-maint.tar.gz https://github.com/sm0svx/svxlink/archive/maint.tar.gz
tar xvzf svxlink-maint.tar.gz
cd svxlink-maint/src
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc -DLOCAL_STATE_DIR=/var ..
make
make doc
useradd -r -g daemon svxlink
make install
ldconfig

You also need to download and install the sound files (e.g. svxlink-sounds-en_US-heather-16k-13.12.tar.bz2) as described in the main installation instruction if you want to run SvxLink Server.

Now go back to the installation page and read the post install stuff chapter.

Installation instructions for Debian 8 (Jessie)

This instruction was written for the 17.12 release of SvxLink.

SvxLink packages are available in the Debian repositories but if you want to compile the latest version, follow this guide.

First, install a couple of packages that SvxLink depend on. In a terminal, type the following commands as user 'root'.

apt update
apt install g++ cmake make libsigc++-2.0-dev libgsm1-dev libpopt-dev tcl8.5-dev libgcrypt11-dev libspeex-dev libasound2-dev libopus-dev librtlsdr-dev doxygen groff alsa-utils vorbis-tools curl

If you need Qtel you also need the QT development libraries.

apt install libqt4-dev

Download and compile the source code and then install it:

curl -Lo svxlink-17.12.tar.gz https://github.com/sm0svx/svxlink/archive/17.12.tar.gz
tar xvzf svxlink-17.12.tar.gz
cd svxlink-17.12/src
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc -DLOCAL_STATE_DIR=/var ..
make
make doc
useradd -r -g daemon svxlink
make install
ldconfig

You also need to download and install the sound files (e.g. svxlink-sounds-en_US-heather-16k-13.12.tar.bz2) as described in the main installation instruction if you want to run SvxLink Server.

Now go back to the installation page and read the post install stuff chapter.

Installation instructions for Debian 7 (Wheezy)

This instruction was written for the 13.12 release of SvxLink.

There are no binary packages for Debian but it is quite easy to compile SvxLink from source. First, install a couple of packages that SvxLink depend on. In a terminal, type the following commands as user 'root'.

apt-get update
apt-get install g++ make libsigc++-2.0-dev libgsm1-dev libpopt-dev tcl8.5-dev libgcrypt11-dev libspeex-dev libasound2-dev alsa-utils vorbis-tools

If you need Qtel you also need the QT development libraries.

apt-get install libqt4-dev

Download and compile the source code and then install it:

wget http://sourceforge.net/projects/svxlink/files/svxlink/13.12/svxlink-13.12.tar.gz
tar xvzf svxlink-13.12.tar.gz
cd svxlink-13.12
make
make install

You also need to download and install the sound files (e.g. svxlink-sounds-en_US-heather-16k-13.12.tar.bz2) as described in the main installation instruction if you want to run SvxLink Server.

Now go back to the installation page and read the post install stuff chapter.

Installation instructions for Debian 6 (Squeeze)

The instructions above will also work for Debian 6.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.