Skip to content

Installation on Linux

Claude edited this page Aug 15, 2026 · 2 revisions

KLog is available for several GNU/Linux distributions. Pick the option that matches how you want to install it.

Option 1: Distribution package (recommended when available)

KLog is packaged in Debian and, through it, in several Debian-based distributions. If your distribution provides a klog package, this is the simplest way to install it and keep it updated:

sudo apt update
sudo apt install klog

Check the Debian build status page to see which Debian/Ubuntu releases currently carry a KLog package. If your distribution does not package KLog, use one of the options below.

[ADD SCREENSHOT HERE: terminal showing sudo apt install klog running successfully, or the KLog entry in a distribution's package manager / software center]

Option 2: Download a pre-built package from GitHub or Google Drive

Pre-built packages for common distributions may be attached to each GitHub Release or available on the Google Drive folder. See Download from GitHub for how to find them. Install the downloaded package with your distribution's package tool (e.g. sudo dpkg -i klog_*.deb on Debian/Ubuntu, or sudo rpm -i klog-*.rpm on Fedora/openSUSE), resolving any missing dependencies your package manager reports.

Option 3: Build from source

If no package is available for your distribution, you can build KLog yourself. KLog requires Qt6 (many distributions still default to Qt4/Qt5, so you may need to install Qt6 packages explicitly).

  1. Install the build dependencies. Package names vary by distribution, but look for equivalents of: cmake, qt6-tools-dev-tools, qt6-base-dev, libqt6charts6-dev, qt6-serialport-dev, libhamlib++-dev, qmake6, libqt6sql6-sqlite, libhamlib-dev, qt6-location-dev, qt6-positioning-dev, qt6-l10n-tools, qt6-declarative-private-dev, qt6-tools-dev.

    Verify Qt6 is available:

    qmake6 -v
    

    The output should report Qt version 6.x. If not, check your Qt installation.

  2. Download and unpack the KLog source:

    tar xvzf klog-<version>.tar.gz
    cd klog-<version>
    

    (or git clone https://github.com/ea4k/klog.git for the latest development sources).

  3. Configure the build:

    cmake -S . -B build
    
  4. Build:

    cmake --build build
    

    If everything goes well, the klog executable will be in the build folder.

  5. Install (as root):

    sudo cmake --install build --prefix /usr
    

At runtime, KLog also needs: libqt6serialport6, libqt6sql6-sqlite, qml6-module-qtlocation, qml6-module-qtquick-window, qml6-module-qtquick, qml6-module-qtquick-controls, qt6-location-plugins. These are installed automatically when using the Debian package.

For more build details see Development Notes and Building on Linux.

First launch

Once installed, run klog from your applications menu or a terminal. The First Run / Setup Wizard will guide you through the initial configuration.

Known issues

  • Raspbian / other Wayland-only setups: if you see qt.qpa.plugin: Could not find the Qt platform plugin "wayland" on startup, install the Qt Wayland package: sudo apt install qt6-wayland. See Troubleshooting.

Clone this wiki locally