LaTeX on Linux

From upstream

Download and run the TeX Live installer:

cd /tmp
curl -L -o install-tl-unx.tar.gz https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
zcat < install-tl-unx.tar.gz | tar xf -
cd install-tl-2*
perl ./install-tl --no-interaction

With apt

sudo apt install texlive-full

A smaller set that should be enough for most papers:

sudo apt install texlive-latex-recommended texlive-latex-extra latexmk biber