Skip to content

Build Instructions for Debian Family

Oleg Shparber edited this page Apr 15, 2023 · 11 revisions

Dependencies

Install the base build dependencies first:

sudo apt-get install cmake extra-cmake-modules libarchive-dev libsqlite3-dev libxcb-keysyms1-dev ninja-build

For build against Qt 6 install the following packages:

sudo apt-get install libgl1-mesa-dev libqt6opengl6-dev qt6-base-private-dev qt6-webengine-dev qt6-webengine-dev-tools

For Qt 5 the list is different:

sudo apt-get install libqt5x11extras5-dev qt5-default qtwebengine5-dev

Build

Run the following commands to configure and build:

cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake --build build

Installation

sudo cmake --install build

Post Installation

Reload desktop files for dash:// and dash-plugin:// URL handler support:

sudo update-desktop-database