Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我在终端 sudo pdflatex file.tex 中运行,它可以工作并编译,但如果我不添加 sudo 也不使用 texstudio?
我尝试将 pdflatex 添加到我的 $PATH:
PATH=$PATH:/usr/bin/pdflatex export PATH
但它没有帮助。
$ sudo which pdflatex /usr/bin/pdflatex