I'm new to latex, I had recently installed TexLive2016 on CentOS 7. Now, when I try to compile my main.tex file I get several errors:
biblatex.sty file not found
acronym.sty file not found
and so on...
Where should I run texhash?
Another question: It is possible that I have two different LaTeX? So that the path is set to the older latex and not to the one I installed. How can I check that? How can I correct it?
texhash. Yes, it is possible. Yes, that is also possible.which pdflatexwill tell you where the binary is. If it is something like/usr/bin/...then you are probably using CentOS packages. If it is something like/usr/local/texlive/...then you are probably using upstream's. You don't say how you installed TeX Live, so I don't know which you are trying to use. If you have both distro and upstream packages, remove whichever distribution you don't want, install a dummy package if needed, set yourPATHcorrectly. – cfr Nov 04 '16 at 02:41which latexin a terminal. You also run texhash in a terminal. – daleif Nov 04 '16 at 20:56