While compiling a document I get
! LaTeX Error: File `siunitx.sty' not found.
But there is this file on the system:
locate siunitx.sty
/usr/local/texlive/2017/texmf-dist/tex/latex/lwarp/lwarp-siunitx.sty
/usr/local/texlive/2017/texmf-dist/tex/latex/siunitx/siunitx.sty
The output of
which pdflatex
is
/usr/bin/pdflatex
What is the problem?
which pdflatex(or equivalent command) give as the path to the latex program? (or alternatively if you look at the log of aarticleclass document what is the path toarticle.cls) – David Carlisle Apr 10 '18 at 17:12sudo apt-getthat would not install under /usr/local/texlive, that would install a system texlive, the one in /usr/local is an installation of a vanilla texlive from tug – David Carlisle Apr 10 '18 at 17:15