- Install Termux from F-Droid. This part is important, not from Google Play Store. GPlay restricts some functionality of Termux.
- Upgrade dependencies:
pkg update && pkg upgrade - To access device storage, run this command. It's needed to access created LaTeX and PDF files:
termux-setup-storage - cd into local storage:
cd ~/storage/shared - Create LaTeX project folder. We'll save our files here and access them from this folder from our device:
mkdir LaTeX - Install TeX Live installer:
pkg install texlive-installer - Install TeX Live. Important note, do not change any option here:
termux-install-tl - Fix missing binaries:
texlinks - cd into home directory:
cd ~ - Create symlink for LaTeX folder:
ln -s /data/data/com.termux/files/home/storage/shared/LaTeX LaTeX - cd into LaTeX folder:
cd LaTeX - Start creating files!
Last active
September 25, 2025 08:34
-
-
Save barbarbar338/0225d6348a1429a579752bccddd4e745 to your computer and use it in GitHub Desktop.
Compile LaTeX files on Android
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment