Home | Ubuntu/Mint | Arch/Manjaro | ssh/gpg | texlive | python | git | steam

texlive

Resources

Prerequisites

Remove old installations:
sudo apt purge feynmf latex-xcolor pgf texlive texlive-bibtex-extra texlive-fonts-extra texlive-generic-extra texlive-generic-recommended texlive-humanities texlive-latex-extra texlive-lang-german texlive-math-extra texlive-metapost texlive-pstricks texlive-science texlive*
sudo apt autoremove
sudo rm -rfv ~/texmf /usr/local/texlive/

Install needed packages:
sudo apt install equivs freeglut3 perl-tk perl-doc tex-common texinfo

Download & Installation

Run the update script (TLMGR.sh) in order to download the installation files. Change into the ${local} directory defined in the script and execute the installer by running sudo ./install-tl -gui.
Choose the packages you need and set the default system paths. Then start the installation.

Post installation

As root run:
cp -v /usr/local/texlive/2020/texmf-var/fonts/conf/texlive-fontconfig.conf /etc/fonts/conf.d/09-texlive.conf
fc-cache -fsv
context --generate

As root create a dummy package (complete the control file by adding name and email address):
mkdir -v /tmp/tl-equivs
cd /tmp/tl-equivs
equivs-control texlive-local
wget -O texlive-local https://www.tug.org/texlive/files/debian-equivs-2020-ex.txt
vim /tmp/tl-equivs/texlive-local
equivs-build texlive-local
dpkg -i texlive-local_2020-1_all.deb

Test the installation

Useful commands