InstallSrcUbuntu - sm0svx/svxlink GitHub Wiki

Installation instructions for Ubuntu 16.04 (LTS)

This instruction was written for the 17.12 release of SvxLink.

There are packages for Ubuntu 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.

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

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

sudo apt install qtbase5-dev qttools5-dev-tools qttools5-dev

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
sudo useradd -r -g daemon svxlink
sudo make install
sudo ldconfig

You also need to download and install the sound files (e.g. sounds-en_US-heather-13.03.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 Ubuntu 16.04 minimal distributive

Install a couple of packages that SvxLink depend on. In a terminal, type the following commands.

sudo apt-get update
sudo apt-get install g++ libsigc++-2.0-dev libgsm1-dev libpopt-dev tcl-dev libgcrypt11-dev libspeex-dev libasound2-dev make alsa-utils git cmake libqt4-dev

Add svxlink user to your Linux system

adduser svxlink

Download and compile the source code with git command and then install it:

git clone https://github.com/sm0svx/svxlink.git
cd svxlink
mkdir src/build
cd src/build
cmake -DUSE_QT=OFF -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc -DLOCAL_STATE_DIR=/var -DCMAKE_BUILD_TYPE=Release ..
make
sudo make install
sudo ldconfig

Installation instructions for Ubuntu 12.04 (LTS)

This instruction was written for the 13.03 release of SvxLink.

There are packages for Ubuntu 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.

sudo apt-get update
sudo apt-get install g++ libsigc++-2.0-dev libgsm1-dev libpopt-dev tcl-dev libgcrypt11-dev libspeex-dev libasound2-dev make alsa-utils

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

sudo apt-get install libqt4-dev

Download and compile the source code and then install it:

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

You also need to download and install the sound files (e.g. sounds-en_US-heather-13.03.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 Ubuntu 10.04 (LTS)

The instructions above will also work for the previous release with long-term support (LTS).

⚠️ **GitHub.com Fallback** ⚠️