Installing texlive and betex

I’ve tried to install latex by following the instructions here: http://pulkomandy.lexinfo.fr/~texlive/

I installed texlive to /boot/home/TexLive

Then downloaded the binaries and extracted to

/boot/home/TexLive/bin

(the bin directory didn’t exist, I had to create it… maybe it’s the wrong place?)

I then tried adding the path to /boot/home/config/boot/UserSetupEnvironment file, but this did nothing. So I manually exported path.

Then run “latex small2e” and I get the following:

This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
restricted \write18 enabled.

kpathsea: Running mktexfmt latex.fmt
mktexfmt: No such file or directory
I can’t find the format file `latex.fmt’!

I also tried exporting TLROOT as the install directory, with the same results.

What am I doing wrong?

Okay, I got a bit further. I noticed many of the executables in the bin directory were compressed with xz. So I did

unxz *.xz

Now, when I run “latex small2e” I get:

This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
restricted \write18 enabled.

kpathsea: Running mktexfmt latex.fmt
tcfmgr: config file tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found (ls-R missing?). fmtutil: config filefmtutil.cnf’ not found.
I can’t find the format file `latex.fmt’!

I checked and indeed tcfmgr.map is in $TEXMFMAIN/texconfig. So I don’t know what’s going on.

Ok, I managed to get it to work. You need to run texconfig from terminal, then press R and hit enter to select and run “REHASH rebuild filename databases”. Then it works perfectly!