[tex-live] Compiling from source

Henrique Lengler henriqueleng at opmbx.org
Wed Jan 14 19:21:25 CET 2015

On Wed, Jan 14, 2015 at 06:45:51PM +0100, Zdenek Wagner wrote:
> Under linux it is not wise to do any maintanance as root, you will
> have problems. The ls-R files will then be owned by root and whatever
> you do later with tlmgr as normal user will fail due to "permission
> denied". In order to make the binaries work, they must be in
> /usr/local/texlive2014/bin/whatever and thsi directory must be at the
> beginning of PATH.

I have this set up.

    ~ $ ls /usr/local/texlive/2014/bin/x86_64-linux | wc -l
    ^- Number of binaries in the folder

    ~ $ echo $PATH
    |       TEXLIVE PATH -^                 |

So in my /home/henrique folder I try:
    ~ $ tex samplefile.tex
    This is TeX, Version 3.14159265 (TeX Live 2014) (preloaded format=tex)

    kpathsea: Running mktexfmt tex.fmt
    I can't find the format file `tex.fmt'!

*Can't find tex.fmt?*

Let's try latex:
    ~ $ latex samplefile.tex
    This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=latex)
     restricted \write18 enabled.

    kpathsea: Running mktexfmt latex.fmt
    I can't find the format file `latex.fmt'!

So yeah, I have all the things set up, and I can't use the binaries. Why?


Henrique Lengler

More information about the tex-live mailing list