This tutorial describes all the steps to build qaul.net on a Debian Linux distro. It has been tested on the following distributions:
- Debian
- Ubuntu
- Linux Mint
- Arch Linux
- Manjaro
Install needed software to download and build qaul.net from Source.
For Debian based linux distributions, run the following commands:
sudo apt-get install git cmake build-essential pkg-config \
libgtk-3-dev libwebkit2gtk-4.0-dev libdbus-1-dev autotools-dev \
libasound2-dev bison flex automake
For Arch Linux, run the following commands:
sudo pacman -S autoconf automake git cmake pkg-config \
gtk3 dbus bison flex dbus webkit2gtk
For Manjaro, run the following commands:
pamac autoconf automake git cmake pkg-config \
gtk3 dbus bison flex dbus webkit2gtk
For Fedora(Redhat distros) Linux, run the following commands.
sudo dnf groupinstall "Development Tools" "Development Libraries" \
autoconf automake git cmake pkg-config gtk3 dbus bison flex dbus alsa-lib-devel
# Download the source from https://github.com/qaul/qaul.net, checkout
# branch release-1.0.0, download and init submodules
git clone --recursive --branch release-1.0.0 https://github.com/qaul/qaul.net.git
# create build directory
cd qaul.net
mkdir build
cd build
# generate make files
cmake ..
# make and install qaul.net
make
sudo make install
cmake needs to be of a version 3.1 or higher to be able to run sucessfully.
On debian wheezy and debian jessie one needs to install cmake from wheezy-backports.
Add the following line to the file /etc/apt/sources.list to be able to use the wheezy-backports repository
deb http://ftp.de.debian.org/debian/ wheezy-backports main non-free
Install the cmake version from backports
# update the package list
sudo apt-get update
# install cmake from wheezy-backports
sudo apt-get -t wheezy-backports install cmake
Install cmake from ppa
# add ppa
sudo add-apt-repository ppa:george-edison55/cmake-3.x
# install newer CMAKE
sudo apt-get update
sudo apt-get install cmake
Make fails to build portfwd due to missing execution permissions for bootstrap. Add the permissions to bootstrap:
chmod +x third_party/portfwd/src/portfwd/bootstrap
Run qaul.net GKT client from the command line
# run qaul.net GUI client form the command line
/opt/qaul/bin/qaul-gtk
Run qaul.net GKT client from the command line
# run qaul.net GUI client form the command line
/opt/qaul/bin/qaul-gtk
To create the .deb installer, execute the following command in your build directory.
make package
# if you have run `sudo make install` before running `make package`
# you may need to delete some files created with root permissions
# first. You may find these files executing the follwing command:
## find . -user root