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.

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
1  
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
11  
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
1  
or ask the administrator to install the package you need –  daleif Mar 31 '11 at 12:38
add comment

1 Answer 1

up vote 8 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

echo $TEXMFHOME

it should point to your home directory

share|improve this answer
3  
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
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.