1

sudo apt install texlive-full installs the 2019 version. Using the tlmgr and update-tlmgr-latest.sh I tried to get it to version 2021 but failed.

$ tex --version
TeX 3.14159265 (TeX Live 2019/dev/Debian)
kpathesa version 6.3.1/dev
Copyright 2018 D.E. Knuth.
...

Is there any way to install the 2021 version directly? I cannot seem to find any way how to do it...

11
  • 1
    do not use sudo apt to install TL. Download the installer and install it directly! (as root). It should install it to \usr\local\bin
    – Nasser
    Commented Mar 20, 2022 at 16:58
  • where would I find it?
    – michihupf
    Commented Mar 20, 2022 at 16:59
  • There are instructions on the internet here it is for old version, but they work the same for each version. I followed them before and they work each time. Just remember to be root when you run the installer.
    – Nasser
    Commented Mar 20, 2022 at 17:01
  • It installed the 2019 version...
    – michihupf
    Commented Mar 20, 2022 at 17:52
  • 1
    That is not possible. They have TL 2021 there. Did you change/update your $PATH to point to TL 2021 as it says?? How do you know which Latex you are using? Do which lualatex for example.
    – Nasser
    Commented Mar 20, 2022 at 17:55

1 Answer 1

3

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"

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .