texlive linux安装

下载texlive

wget http://mirrors.sjtug.sjtu.edu.cn/ctan/systems/texlive/tlnet/install-tl-unx.tar.gz

解压

install-tl-unx.tar.gz

安装

cd install-tl-20200301/
./install-tl

提示选项,输入“I”进行安装

安装完成后配置环境变量,编辑/etc/profile,末尾添加如下内容

export MANPATH=${MANPATH}:/usr/local/texlive/2019/texmf-dist/doc/man
export INFOPATH=${INFOPATH}:/usr/local/texlive/2019/texmf-dist/doc/info
export PATH=${PATH}:/usr/local/texlive/2019/bin/x86_64-linux

测试

root@937206146c8b:~# tex
This is TeX, Version 3.14159265 (TeX Live 2019) (preloaded format=tex)
**

 

你可能感兴趣的:(texlive linux安装)