Skip to content

Building on Linux

Adrian Lucrèce Céleste edited this page Feb 16, 2019 · 18 revisions

Ubuntu/Debian/Raspbian: Build from source

sudo apt update && sudo apt upgrade
sudo apt install git cmake make xorg-dev g++ libcurl4-openssl-dev \
                 libavahi-compat-libdnssd-dev libssl-dev libx11-dev \
                 libqt4-dev qtbase5-dev
git clone [email protected]:debauchee/barrier.git
# this builds from master,
# you can get release tarballs instead
# if you want to build from a specific tag/release
cd barrier
./clean_build.sh
cd build
sudo make install  # installs to /usr/local/ 

Fedora: Build from source:

sudo dnf install git cmake  gcc-c++ xorg-x11-server-devel \
                 libcurl-devel avahi-compat-libdns_sd-devel \
                 libXtst-devel qt5 qt5-devel openssl-devel
git clone [email protected]:debauchee/barrier.git
# this builds from master,
# you can get release tarballs instead
# if you want to build from a specific tag/release
cd barrier
./clean_build.sh
cd build
sudo make install  # installs to /usr/local/ 
Clone this wiki locally