What is configured wrong or how do I find out?
I expect my pdflatex command to function.
$ pdflatex file.tex bash: /usr/local/texlive/2016/bin/x86_64-linux/pdflatex: file not found
It does not. More explicitly called pdflatex starts correctly.
$ /usr/local/bin/pdflatex file.tex This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017) (preloaded format=pdflatex) restricted \write...
I recently deleted and purged with apt texlive 2016. However, what can be configured wrong?
$ which pdflatex /usr/local/bin/pdflatex $ ll /usr/local/bin/pdflatex lrwxrwxrwx 1 root staff 49 Jul 1 11:07 /usr/local/bin/pdflatex -> /usr/local/texlive/2017/bin/x86_64-linux/pdflatex