![Onde devo instalar um novo formato (arquivo .fmt) para o TeX?](https://rvso.com/image/328800/Onde%20devo%20instalar%20um%20novo%20formato%20(arquivo%20.fmt)%20para%20o%20TeX%3F.png)
Eu tenho a versão web2c do TeX instalada manualmente a partir de pacotes texlive. Estou usando Linux. O formato é instalado para meu usuário e funciona se eu colocar o arquivo .fmt em ~/.texlive2014/texmf-var/web2c/tex/. Mas quero instalar o formato para todos os usuários.
Algumas variáveis kpathsea em meu sistema que devem ser úteis:
TEXMFMAIN=/opt/texlive/texmf-dist
TEXMFDIST=/opt/texlive/texmf-dist
TEXMFLOCAL=/opt/texmf-local
TEXMFSYSVAR=/opt/texlive/texmf-var
TEXMFSYSCONFIG=/opt/texlive/texmf-config
TEXMFVAR=/home/harry/.texlive2014/texmf-var
TEXMFCONFIG=/home/harry/.texlive2014/texmf-config
TEXMFHOME=/home/harry/texmf
VARTEXFONTS=/home/harry/.texlive2014/texmf-var/fonts
TEXMF={/home/harry/.texlive2014/texmf-config,/home/harry/.texlive2014/texmf-var,/home/harry/texmf,!!/opt/texlive/texmf-config,!!/opt/texlive/texmf-var,!!/opt/texmf-local,!!/opt/texlive/texmf-dist}
SYSTEXMF=/opt/texlive/texmf-var:/opt/texmf-local:/opt/texlive/texmf-dist
TEXMFDBS={!!/opt/texlive/texmf-config,!!/opt/texlive/texmf-var,!!/opt/texmf-local,!!/opt/texlive/texmf-dist}
WEB2C={/home/harry/.texlive2014/texmf-config,/home/harry/.texlive2014/texmf-var,/home/harry/texmf,!!/opt/texlive/texmf-config,!!/opt/texlive/texmf-var,!!/opt/texmf-local,!!/opt/texlive/texmf-dist}/web2c
TEXPSHEADERS=.:{/home/harry/.texlive2014/texmf-config,/home/harry/.texlive2014/texmf-var,/home/harry/texmf,!!/opt/texlive/texmf-config,!!/opt/texlive/texmf-var,!!/opt/texmf-local,!!/opt/texlive/texmf-dist}/{dvips,fonts/{enc,type1,type42,type3}}//
TEXCONFIG={/home/harry/.texlive2014/texmf-config,/home/harry/.texlive2014/texmf-var,/home/harry/texmf,!!/opt/texlive/texmf-config,!!/opt/texlive/texmf-var,!!/opt/texmf-local,!!/opt/texlive/texmf-dist}/dvips//
ENCFONTS=.:{/home/harry/.texlive2014/texmf-config,/home/harry/.texlive2014/texmf-var,/home/harry/texmf,!!/opt/texlive/texmf-config,!!/opt/texlive/texmf-var,!!/opt/texmf-local,!!/opt/texlive/texmf-dist}/fonts/enc//
TEXFONTMAPS=.:{/home/harry/.texlive2014/texmf-config,/home/harry/.texlive2014/texmf-var,/home/harry/texmf,!!/opt/texlive/texmf-config,!!/opt/texlive/texmf-var,!!/opt/texmf-local,!!/opt/texlive/texmf-dist}/fonts/map/{kpsewhich,pdftex,dvips,}//
Tentei instalar o arquivo em /opt/texmf-local/web2c/tex/, /opt/texlive/2014/texmf-dist/web2c/tex/ e /opt/texlive/texmf-var/web2c/tex/, mas isso não funciona. TeX reclama “Não consigo encontrar o arquivo formatado”.
Também tentei usar "fmtutil-sys --all", mas não resolveu o problema.