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

It seems that I can not do anything to update this outdated TeXlive+Kile system.

********:~/TeX$ texhash
texhash: /usr/local/share/texmf/ls-R: no write permission. Skipping...
texhash: /var/lib/texmf/ls-R-TEXMFMAIN: no write permission. Skipping...
texhash: /var/lib/texmf/ls-R-TEXLIVE: no write permission. Skipping...
texhash: /var/lib/texmf/ls-R: no write permission. Skipping...
texhash: Done.
share|improve this question
Try running texhash as root. – Gonzalo Medina Mar 31 '11 at 12:06
If you are an administrator on your system and you're on linux, you could try sudo texhash – Seamus Mar 31 '11 at 12:06
Myname is not in the sudoers file. I am not the root. I can only modify /home/myname folder. – Ma Ming Mar 31 '11 at 12:10
In that case, if you have a couple of gigabytes in your home directory then you could install a completely fresh version of TeXLive there and just use that, ignoring the system installed version with impunity. – Loop Space Mar 31 '11 at 12:19
or ask the administrator to install the package you need – daleif Mar 31 '11 at 12:38
up vote 9 down vote accepted

Install the file in ~/texmf/tex/latex/<package name> then it will be found by the system without running texhash. You can control the TEXMFHOME value by


it should point to your home directory

share|improve this answer
TeX Live usually doesn't use environment variables, so you should use kpsewhich --var-value=TEXMFHOME instead. And texhash is not required for the home tree. – Philipp Mar 31 '11 at 16:06
depends to your installation. And that texhash isn't needed for TEXMFHOME was already mentioned ... :-) – Herbert Mar 31 '11 at 16:21
Indeed, I should actually read the posts. I've only noticed the word "texhash" :-) – Philipp Mar 31 '11 at 16:42
It sounds good, thanks a lot! – Ma Ming Apr 1 '11 at 9:01

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.