This is a rather old version of TeX, and I suggest installing the original TeX Live from TUG. For this, the following steps are necessary:
1. Installation of TeX Live from TUG
See https://www.tug.org/texlive/quickinstall.html
Get the installer from https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz and unpack it. Then run the included install-tl
. It will ask you several questions about installation location etc.
This will be a user install, which we recommend (see the quickinstall page).
2. Add the TeX Live binary directory to the PATH
This depends on your shell, but mostly means adding it to either .profile
or .bashrc
or .login
or .bash_login
or any of the files that are read.
After having updated your login files, log out and log in again.
3. Integration with Debian
This is not strictly necessary unless you want to get rid of the TeX Live installed by Debian, mostly due to disk space reasons.
See https://www.tug.org/texlive/debian.html section "Integrating vanilla TeX Live with Debian"
sudo apt
to install TL. Download the installer and install it directly! (as root). It should install it to\usr\local\bin
$PATH
to point to TL 2021 as it says?? How do you know which Latex you are using? Dowhich lualatex
for example.