Tex Live安装

时间:2019-10-10 09:48:38

标签: centos tex-live

我想从Rmd脚本(r markdown)生成pdf文件,因此我在installation guide中安装了Pandoc,它说:对于PDF输出,您需要LaTeX。我们建议安装TeX Live 。因此,我从他们的Tex Live下载了website

(我必须将其安装在特定目录中,以便可以将其加载到环境模块系统中)

然后我这样做了:

$: tar xf texlive-20190408-source.tar.xz
$: cd texlive-20190408-source
$: sudo ./configure --prefix=$path --enable-build-in-source-tree
$: make 
configure: error: Sorry, you will need at least the Xaw header/library files to compile xdvik.
=== configuring in xdvik failed
make[2]: *** [recurse] Error 1
make[2]: Leaving directory `/Downloads/texlive-20190408-source/texk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Downloads/texlive-20190408-source/texk'
make: *** [all-recursive] Error 1

0 个答案:

没有答案