TeX Live manual installation

From Gentoo Wiki
Jump to: navigation, search

Gentoo provides packages for TeX Live in the official tree, but they are very difficult to update. The TeX Live packages in the tree are several months (sometimes a year) behind upstream, while users who install TeX Live manually with the tlmgr manager get updates every day.

This procedure is very similar to other package managers like pip in python or the package managers of GNU R (using cran), and Perl (using cpan).

This page collects user experience and hints about the manual installation

Manual installation

Get the latest installer from https://www.tug.org/texlive/ and follow the instructions to install to /usr/local.


The manual TeX Live installation provides many packages, which could be installed via Portage too. To prevent Portage to install app-text/texlive as dependency, one can add the package names in a .provided file:

# todo: make a script which updates the version numbers to the latest version in the tree
#       or should it be -9999999 right from the start?


root #tlmgr update --all

Trouble ahead

The manual installation of TeX Live bears the chance of other conflicts and bugs than a Portage installed TeX Live. Keep track of all commands regarding the administration of TeX. Using the package manager of the distribution and of a software suite on the same system is always a challenge.