For Ubuntu 26.04 LTS and TeXLive 2026
- Do not use default given packages. They are too old and obsolete.
Reference: How to remove everything related to TeX Live for fresh install on Ubuntu?
sudo apt-get purge texlive*
sudo rm -rf /usr/local/texlive/* and rm -rf ~/.texlive*
sudo rm -rf /usr/local/share/texmf
sudo rm -rf /var/lib/texmf
sudo rm -rf /etc/texmf
sudo apt-get remove tex-common --purge
rm -rf ~/.texlive
find -L /usr/local/bin/ -lname /usr/local/texlive/*/bin/* | xargs -r rm- Installing TeX Live over the Internet
- TeX Live - Quick install for Unix
- install BasicTex only with
perl ./install-tl --scheme=small --no-interaction
- install BasicTex only with
In ~/.zshrc:
# TeXLive
export PATH=/usr/local/texlive/2026/bin/x86_64-linux:${PATH}
export MANPATH=/usr/local/texlive/2026/texmf-dist/doc/man:${MANPATH}
export INFOPATH=/usr/local/texlive/2026/texmf-dist/doc/info:${INFOPATH}sudo zsh
umask 022
tlmgr update --self --all
tlmgr paper a4
tlmgr install collection-langjapanese
tlmgr install collection-latexextra
tlmgr install latexmk collection-luatex collection-fontsrecommended
tlmgr install collection-fontsextra
exitMacTeX BasicTeX config example with homebrew
[End of document]