[Tex/LaTex] Installing texlive without root permissions from the source files


Working on a Linux machine, I've run across some issues which seem like they're due to the fact that I installed texlive with

sudo apt install texlive-full

I'm trying to re-install texlive from the source files. I've downloaded and decompressed them, and I'm hoping not to use root permissions in part because the instruction site suggests that it's best not to do so. However, when I executed:


I got the error:

./install-tl: mkdir(/usr/local/texlive/) failed: Permission denied at tlpkg/TeXLive/TLUtils.pm line 913, line 1.

Presumably the issue is that although I executed install-tl from the directory in which I have write permissions, it's also trying to make files in usr/local/texlive/ in which I need to be root in order to write to that directory. I'm stuck. Do I need to be root to do this?

Best Answer

The solution is to choose the option D and then to specify your user directory. Then you return to the main options with R and subsequently choose I to install.