[tex-live] Compiling from source

Zdenek Wagner zdenek.wagner at gmail.com
Wed Jan 14 19:34:14 CET 2015


Try:

mktexlsr
fmtutil-sys --all

The first command rebuilds the ls-R database, the second command
generates all formats

I am not sure whether updmap-sys (without any parameters) is needed
before generating the formats, probably not. The formats need just the
TFM files.

Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz


2015-01-14 19:21 GMT+01:00 Henrique Lengler <henriqueleng at opmbx.org>:
> 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
>     345
>     ^- Number of binaries in the folder
>
>     ~ $ echo $PATH
>     /usr/local/texlive/2014/bin/x86_64-linux:/bin:/local/bin
>     |       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?
>
> Regards,
>
> Henrique Lengler



More information about the tex-live mailing list