-
-
Notifications
You must be signed in to change notification settings - Fork 1
Linux LaTeX Guide
Mattscreative edited this page Dec 5, 2025
·
2 revisions
Complete beginner-friendly guide to LaTeX on Linux, covering Arch Linux, CachyOS, and other distributions including installation, document creation, and typesetting.
Arch/CachyOS:
# Install TeX Live (full)
sudo pacman -S texlive-most texlive-lang
# Or minimal
sudo pacman -S texlive-coreDebian/Ubuntu:
sudo apt install texlive-fullFedora:
sudo dnf install texlive-scheme-fullCheck LaTeX:
# Check version
pdflatex --version
# Check installation
tlmgr --versionBasic document:
\documentclass{article}
\begin{document}
Hello, World!
\end{document}Generate PDF:
# Compile to PDF
pdflatex document.tex
# Or use xelatex
xelatex document.texInstall TeXstudio:
# Arch/CachyOS
sudo pacman -S texstudio
# Launch
texstudioUse Overleaf:
- Visit https://www.overleaf.com/
- Create account
- Start writing
Compile:
# PDFLaTeX
pdflatex document.tex
# XeLaTeX
xelatex document.tex
# LuaLaTeX
lualatex document.texUse BibTeX:
# Compile with bibliography
pdflatex document.tex
bibtex document
pdflatex document.tex
pdflatex document.texCheck installation:
# Check LaTeX
which pdflatex
# Install if missing
sudo pacman -S texlive-coreCheck errors:
# View log file
cat document.log
# Fix errors in .tex file
# RecompileThis guide covered LaTeX installation, document creation, and compilation for Arch Linux, CachyOS, and other distributions.
- Office Software - Office applications
- Text Editors - Text editors
- LaTeX Project: https://www.latex-project.org/
This guide covers Arch Linux, CachyOS, and other Linux distributions. For distribution-specific details, refer to your distribution's documentation.