Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

With reference to this answer; Is there a difference between texconfig hash and mktexlsr?

For example: Is sudo texconfig rehash able to clean up ls-R in cases where mktexlsr remains deficient? or; Is this only due to the sudo in the former command?

share|improve this question
2  
The recommended call for recent versions of TeX Live is texhash or mktexlsr (that are exactly the same). –  egreg Jun 20 '13 at 9:10
add comment

1 Answer

up vote 5 down vote accepted

Reading the man pages and running a few straightforward tests, I found out this:

  • texconfig rehash calls mktexlsr, yet a [directories] argument is not passed on.
  • mktexlsr accepts a [directories] argument.
  • texhash calls mktexlsr and passes on a [directories] argument. texhash as a command name is easier to remember than "make TeX ls-R", though.

A number of system folders are skipped because of being write-protected to normal users. So, it is better to use sudo texhash if you can, except when (re)hashing texhash ~/texmf.

share|improve this answer
    
I have put a cross-link comment at the page that led to this question. –  Serge Stroobandt Jun 20 '13 at 9:35
add comment

Your Answer

 
discard

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.