lektra
Installation
System Requirements
  • Qt6, CMake 3.16+, and a C++17-capable compiler
  • Minimum tested OS versions: Arch Linux, Ubuntu 24.04, Windows 11, Apple Silicon macOS

Lektra is available in the Arch User Repository (AUR)

For the latest master branch build:

paru lektra-git # (or) yay -S lektra-git

For the latest stable release:

paru lektra-bin # (or) yay -S lektra-bin
Note

SyncTeX and DjVu support is included by default.

Check out the releases page and download the latest DEB package for lektra.

Note

Tested successfully on Ubuntu 24.04

Check out the releases page and download the latest AppImage for lektra.

eselect repository enable gentoo-zh
emaint sync -r gentoo-zh
emerge lektra
Note

This package is maintained by douglarek, not by the upstream project. Please report Gentoo-specific issues to the gentoo-zh repository.

Requires Xcode or Xcode Command Line Tools to be installed.

Install the required dependencies:

brew install cmake ninja pkg-config qt
git clone https://github.com/dheerajshenoy/lektra.git
cd lektra
git submodule update --init --recursive
./build_dmg.sh

This will create a DMG file in the project directory which you can use to install Lektra on your Mac as follows:

codesign --verify --deep --strict build-macos/lektra.app
hdiutil verify dist/*.dmg

Mount the generated DMG and verify the bundled lektra.app with:

codesign --verify --deep --strict
Note

Tested on Apple Silicon macOS.

Check out the releases page and download the latest EXE for lektra.

Note

Tested successfully on Windows 11

Building from source is the best way to get the latest features and bug fixes, and to contribute to the project.

Linux / macOS

Install dependencies for your distro:

  • Arch Linux
    pacman -S base-devel qt6-base cmake pkgconf
  • Debian / Ubuntu
    apt install build-essential pkgconf qt6-base-dev qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools unzip zlib1g-dev cmake libgl1-mesa-dri mesa-common-dev g++
  • Other distros

    Check your package manager for the equivalent packages.

git clone https://github.com/dheerajshenoy/lektra.git
cd lektra
./configure # --help for options; prefix defaults to /usr
./install
Note

You might need to run ./install with sudo to install to system directories.

Optional dependencies

  • djvulibre — DjVu file support
  • lua — Lua scripting support

Windows

  1. Download the Qt6 library using the installer here.
  2. Using the installer, download the latest Qt6 version and add MSVC support.
  3. Add the Qt6 binary folder path to the environment variable Path.
  4. Download Visual Studio Community Edition here.
  5. Add C++ MSVC 2019 development library using the Visual Studio Installer.
  6. Download CMake from here.
git clone https://github.com/dheerajshenoy/lektra.git
cd lektra
./configure.bat
Getting Started

After installation, you can launch Lektra from your application menu or by running lektra in the terminal. For details about command line options, run lektra --help.

You can also read the manual page by running man lektra in the terminal.

The default configuration is a good starting point for most users. When you're ready to customize, check out the configuration and commands pages.

To get familiar with LEKTRA quickly, open the built-in tutorial by running lektra --tutorial from the terminal, or via the show_tutorial_file command in the command palette (Ctrl + Shift + P).