Install latex on voidlinux


should use `^texlive-20210325_4' is you want to use binary

xbps-install -Sy texlive-20210325_4

Bash Var

export TEXMFHOME=~/.texmf
export PERL5LIB="/usr/share/texmf-dist/tlpkg:<span class="katex"><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:1em;vertical-align:-0.25em;"></span><span class="mord mathnormal" style="margin-right:0.08125em;">H</span><span class="mord mathnormal" style="margin-right:0.05764em;">OME</span><span class="mord">/</span><span class="mord mathnormal">tlp</span><span class="mord mathnormal" style="margin-right:0.03148em;">k</span><span class="mord mathnormal" style="margin-right:0.03588em;">g</span><span class="mspace" style="margin-right:0.2778em;"></span><span class="mrel">:</span></span></span></span>HOME/.cpan/build:PERL5LIB"

Stow

latex in dotfile continent TLConfig.pm ...

stow latex

this version not continent tlpkg/installer/tlconfig.guess

sudo chown {USER}:users /
ln -sf /usr/share/texmf-dist/tlpkg /tlpkg

choose old repo for old latex-2021

tlmgr option repository https://ftp.tu-chemnitz.de/pub/tug/historic/systems/texlive/2021/tlnet-final
tlmgr update