linux中非root用户安装R:configure: WARNING: neither inconsolata.sty nor zi4.sty found: PDF vignettes and package manuals will not be rendered optimally
001、问题:configure: WARNING: neither inconsolata.sty nor zi4.sty found: PDF vignettes and package manuals will not be rendered optimally
002、解决方法
[root@PC1 inconsolata]# wget http://mirrors.ctan.org/fonts/inconsolata.zip [root@PC1 inconsolata]# ls inconsolata.zip [root@PC1 inconsolata]# unzip inconsolata.zip [root@PC1 inconsolata]# cp -Rfp inconsolata/* /usr/share/texmf [root@PC1 inconsolata]# mktexlsr mktexlsr: Updating /usr/share/texlive/texmf/ls-R... mktexlsr: Updating /usr/share/texlive/texmf-config/ls-R... mktexlsr: Updating /usr/share/texlive/texmf-dist/ls-R... mktexlsr: Updating /usr/share/texlive/texmf-local///ls-R... mktexlsr: Updating /usr/share/texlive/texmf-var/ls-R... mktexlsr: Done.
003、测试
[liujiaxin01@PC1 R-4.2.2]$ ./configure --prefix=/home/liujiaxin01/r_test
参考:https://blog.csdn.net/weixin_39669204/article/details/116695697