pdflatex not found. pdflatex is needed for pdf output

Ali Hadjihoseini picture Ali Hadjihoseini · Oct 19, 2017 · Viewed 11.8k times · Source

I have installed my shiny server on Ubuntu. In addition I installed Texlive- full 2017 on the server as well. The problem is that downloading report from the shiny app on the server does not work (on my local computer is working !!!) the error is :

pandoc: pdflatex not found. pdflatex is needed for pdf output.
Warning: Error in : pandoc document conversion failed with error 41

I followed this steps as well to create the symbolic link, but nothing has changed !

my pdflatex is in this path :

/usr/local/texlive/2017/bin/x86_64-linux  

so I have create the symbolic linke like :

ln -s /usr/local/texlive/2017/bin/x86_64-linux  /usr/texbin

and I have added the usr/texbin to the path. Can anyone could tell me what I am missing here ?!!

Answer

sunapi386 picture sunapi386 · Apr 20, 2018

sudo apt install texlive-latex-base seems to install pdflatex.