VS Code连接Ubuntu如何编译LaTex

Quick install – TeX Live – TeX Users Group

tl;dr: Unix(ish)
Non-interactive default installation on anything but Windows:

cd /tmp # working directory of your choice
Download: wget https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
           or: curl -L -o install-tl-unx.tar.gz https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
(or via whatever download method you like)
zcat < install-tl-unx.tar.gz | tar xf - # note final - on that command line
cd install-tl-2*
perl ./install-tl --no-interaction # as root or with writable destination;
# without the explicit "perl" is also usually fine;
# omit --no-interaction if you want to select options;
# may take several hours to run.
Finally, prepend /usr/local/texlive/YYYY/bin/PLATFORM to your PATH,
e.g., /usr/local/texlive/2026/bin/x86_64-linux

Ps:perl ./install-tl指令需要加sudo提权使用root身份安装

VS_Code_编译_LaTeX

作者: 高志远

高志远,24岁,男生

发表评论

邮箱地址不会被公开。