LinuxCommandLibrary

tlmgr

TeX Live package manager

TLDR

Update TeX Live

$ tlmgr update --all
copy
Install package
$ tlmgr install [package-name]
copy
Remove package
$ tlmgr remove [package-name]
copy
Search packages
$ tlmgr search [pattern]
copy
List installed packages
$ tlmgr list --only-installed
copy
Show package info
$ tlmgr info [package-name]
copy
Update tlmgr itself
$ tlmgr update --self
copy
Backup package
$ tlmgr backup [package-name]
copy

SYNOPSIS

tlmgr [options] action [args]

DESCRIPTION

tlmgr (TeX Live Manager) is the package manager for the TeX Live distribution, handling installation, updates, and removal of LaTeX packages and fonts. It automatically resolves dependencies when installing new packages and can update the entire distribution with update --all.
The tool provides search and information commands to explore the thousands of available packages by name or description. Packages can be backed up before changes and restored if an update causes problems. The --self flag updates tlmgr itself separately from other packages.
Running tlmgr requires a native TeX Live installation rather than a distribution-packaged version, as Linux distribution packages typically manage TeX packages through their own package manager instead.

PARAMETERS

install PKGS

Install packages.
remove PKGS
Remove packages.
update
Update packages.
search PATTERN
Search packages.
list
List packages.
info PKG
Package info.
--all
All packages.
--self
Update tlmgr.
--only-installed
Installed only.

CAVEATS

Requires TeX Live (not distro packages). Some distributions manage separately. Network needed for updates.

HISTORY

tlmgr is part of TeX Live, the comprehensive TeX distribution. It provides package management for the LaTeX ecosystem.

SEE ALSO

latex(1), pdflatex(1), texdoc(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community