pdflatex 未找到。 pdf输出需要pdflatex

问题描述 投票:0回答:2

我已经在 Ubuntu 上安装了闪亮的服务器。此外,我还在服务器上安装了 Texlive-full 2017。问题是从服务器上闪亮的应用程序下载报告不起作用(在我的本地计算机上可以正常工作!!!)错误是:

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

我也按照this步骤创建了符号链接,但没有任何改变!

我的 pdflatex 位于此路径中:

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

所以我创建了符号链接,例如:

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

并且我已将

usr/texbin
添加到路径中。 谁能告诉我我在这里缺少什么?!!

ubuntu shiny pandoc shiny-server pdflatex
2个回答
27
投票

sudo apt install texlive-latex-base
似乎安装了
pdflatex


0
投票

使用 pdflatex 安装 TexLive 2023

我发布了完整的代码来轻松安装 pdflatex 并工作 -> https://gist.github.com/rain1024/98dd5e2c6c8c28f9ea9d#gistcomment-4711349

© www.soinside.com 2019 - 2024. All rights reserved.