Skip to content

Instantly share code, notes, and snippets.

@linguisticmind
Last active November 22, 2025 03:55
Show Gist options
  • Select an option

  • Save linguisticmind/449a52f343f9d733b03f58515d9ec0e3 to your computer and use it in GitHub Desktop.

Select an option

Save linguisticmind/449a52f343f9d733b03f58515d9ec0e3 to your computer and use it in GitHub Desktop.
compile_timewarrior.md

Compile Timewarrior on Debian

Video tutorial:

Video tutorial

Links

1. Clone Timewarrior repo

git clone --recurse-submodules https://github.com/GothenburgBitFactory/timewarrior.git
cd timewarrior/

2. Install dependencies

sudo apt install cmake make g++ python3 asciidoctor

3. Compile

Checkout the desired version (optional):

# If you want to compile a release version instead of a current development version:
git tag # Find a version tag
git checkout v1.9.1 # Checkout the desired version

Compile:

cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX="$HOME/local" -B _build

cmake --build _build -j

4. Install (optional)

cmake --install _build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment