lektra
Installation

Lektra is available in the Arch User Repository (AUR)

paru lektra-git # (or) yay -S lektra-git
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.

This is the best way to get the latest features and bug fixes, and also contribute to the project.

Install the required dependency:

  • Arch Linux:
    pacman -S base-devel qt6-base cmake pkgconf
  • Debian/Ubuntu:
    apt install build-essential pkgconf qt6-base-dev qt6-tools-dev qt6-l10n-tools unzip zlib1g-dev cmake libgl1-mesa-dri mesa-common-dev g++
  • Other distros : Check your package manager for the equivalent packages

Optionally install for extra features:

  • djvulibre — DjVu file support
  • synctex — SyncTeX support
  • curl — LLM support (work in progress)
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 the install command with sudo to install to system directories.
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 use LEKTRA as is, the default configuration is designed to be a good starting point for most users. However, you can customize it to your liking. Check out the configuration page for more details.

Once you start configuring, you might want to check out the commands page to see all the available commands and their default keybindings.