Contents

Latex environments

Setup $\LaTeX$ environment in Linux.

TexLive

TexLive, the de-facto standard LaTeX environment.

Install LaTex via the script below

1
2
3
4
5
# Ubuntu, PopOS, KDE Neon
[[ -x $(command -v apt) ]] && sudo apt install texlive-latex-recommended

# Arch, enOS, Garuda, Manjaro
[[ -x $(command -v pacman) ]] && sudo pacman -S texlive-most

MikTex

MikTex is the minimalistic LaTeX distribution1 with an package management console.

Tectonic

A modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive.

Smaller footprint and automatically download the necessary libraries for the document.

Installation

You can install compiled version of tectonic in conda-forge.2

1
2
conda install tectonic -c conda-forge
tectonic --help # test if the program works

For Arch-based systems, install tectonic@AUR

1
paru -S tectonic

Compile from source

For example, in Ubuntu, first install the Rust compiler and its dependencies.

1
sudo apt-get cargo install libfontconfig1-dev libgraphite2-dev libharfbuzz-dev libicu-dev libssl-dev zlib1g-dev

And then download and compile tectonic

1
cargo install tectonic

CI/CD for LaTeX

GitHub actions for automatically compile LaTeX documents on push


  1. Just enough TeX ↩︎

  2. Tectonic installation guide ↩︎