Install Pdflatex On A Debian, Ubuntu, Arch, Kali, Fedora And Raspbian

Install Pdflatex On A Debian, Ubuntu, Arch, Kali, Fedora And Raspbian

pdflatex

Compile a pdf document from LaTeX source files.

Maintainer: Debian TeX Maintainers



Section: tex

Install pdflatex

  • Debian apt-get install texlive-latex-base Click to copy
  • Ubuntu apt-get install texlive-latex-base Click to copy
  • Arch Linux pacman -S texlive-bin Click to copy
  • Kali Linux apt-get install texlive-latex-base Click to copy
  • Fedora dnf install texlive-latex-bin-bin-6 Click to copy
  • Raspbian apt-get install texlive-latex-base Click to copy

Compile a pdf document from LaTeX source files.

How to use pdflatex?

Below are few example commands for pdflatex that you can use in the terminal.

Compile a pdf document:
pdflatex source.texClick to copy
Compile a pdf document, halting on each error:
pdflatex -halt-on-error source.texClick to copy
Installing pdflatex command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Arch, Kali, Fedora and Raspbian operating systems. Once you run the command it will install the latest version of pdflatex 2026 package in your OS.