Ubuntu · Debian
apt
sudo apt update
sudo apt install -y libwebkit2gtk-4.1-dev \
build-essential curl wget file pkg-config \
libgtk-3-dev libayatana-appindicator3-dev \
librsvg2-dev libssl-dev
On Debian 12 and Ubuntu 22.04, libwebkit2gtk-4.1-dev is the right package. On older Ubuntu 20.04 and Debian 11, swap to libwebkit2gtk-4.0-dev.