The Fedora TeXLive packages do not correctly compile one of my documents. Others cannot reproduce this issue, so I'm testing if a separate TeXLive installation solves the problem.
The Fedora packages are installed to /usr/bin/latex; the separate TeXLive installation is located in /usr/local/texlive/2020/bin/x86_64-linux.
Now I need to set the PATH. Using gedit ~/.profile, I have added the following lines to the (previously blank) file:
PATH=/usr/local/texlive/2020/bin/x86_64-linux:$PATH; export PATH
MANPATH=/usr/local/texlive/2020/texmf-dist/doc/man:$MANPATH; export MANPATH
INFOPATH=/usr/local/texlive/2020/texmf-dist/doc/info:$INFOPATH; export INFOPATH
This, as far as I can tell, is exactly what TeXLive told me to do.
However, which latex still returns /usr/bin/latex, not the expected /usr/local path.
Where have I gone wrong?