Lektra is available in the Arch User Repository (AUR)
paru lektra-git # (or) yay -S lektra-git
SyncTeX and DjVu support is included by default.
Check out the releases page and download the latest DEB package for lektra.
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
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
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:
pacman -S base-devel qt6-base cmake pkgconf
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++
Optionally install for extra features:
djvulibre — DjVu file supportsynctex — SyncTeX supportcurl — 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.
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.