Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pdflatex not found. pdflatex is needed for pdf output

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 ?!!

like image 731
Ali Hadjihoseini Avatar asked Oct 19 '17 13:10

Ali Hadjihoseini


1 Answers

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

like image 79
sunapi386 Avatar answered Oct 29 '22 15:10

sunapi386