系统: Android 11.
pkg install texlive
或pkg install texlive-full
发现没有对应的包.
pkg search tex
找到texlive-bin
和texlive-installer
.
pkg install texlive-installer
安装它(texlive-bin
会自动安装).
使用清华大学镜像站的CTAN
进入下一步安装:
https://mirrors.tuna.tsinghua.edu.cn/help/CTAN/
.
输入的命令:
termux-install-tl --location https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnet
.
(不用镜像站可能会安不了,就算能安也要十几个小时,使用镜像站就安装了一个小时多).
上面的命令输入后会进入一个安装的界面此时输入i
进行安装,而后等待安装完毕(一个小时多).
写一个tex文件并通过xelatex
编译检查是否安装成功.(如果不行的话需要重启termux).