TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I test texliveonfly using the tikzpagenodes package.

\begin{tikzpicture}[remember picture,overlay]
  \draw[blue] (current page text area.south west)
    (current page text area.north east)

I typed

sudo python texliveonfly.py --texlive_bin=/usr/local/texlive/2011/texmf-dist/ fly.tex

But error message:

/usr/local/texlive/2011/texmf-dist/tlmgr is not installed

What do I do? In short, as its use texliveonfly in /usr/local/texlive/2011/

share|improve this question
I don't have texliveonlfy.pl so I can only guess. You have to provide the full path to the tlmgr (without tlmgr itself). So it is more like sudo python texliveonfly.py --texlive_bin=/usr/local/texlive/2011/texmf-dist/bin/linux/ fly.tex. To find out the correct dir, type type -p tlmgr on the command line. – topskip Oct 9 '11 at 6:43
Can you explain, please? I could not. – Regis da Silva Oct 11 '11 at 3:46
Explain what? From the error message I have deduced that texliveonfly looks for tlmgr in the path given to --texlive_bin. That's all. Have you tried what I have written? What exactly do you want to know? – topskip Oct 11 '11 at 4:41

the script is installed as texliveonfly with TeXLive 2011. So simply run

texliveonfly fly.tex

and it should work! At least it did it for me :-)

texliveonfly is a link in /usr/local/texlive/2011/bin/<system>/ to the python script ../../texmf-dist/scripts/texliveonfly/texliveonfly.py

share|improve this answer
Herbert, can you explain, please? I could not. – Regis da Silva Oct 11 '11 at 3:47
I already did it ... If you have problems then ask for a specific problem. – Herbert Oct 11 '11 at 11:59
can you explain me step by step, please do not get yet. – Regis da Silva Oct 12 '11 at 4:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.