1

I've been trying to install some latex style files on my mac machine. However, I am confused with how. I put them in /usr/local/texlive/2013/textmf-dist/ And, when I try to update them by typing texhash or mktexlsr in the terminal, I got the following message:

wireless-10-146-48-120:~ jungsookim$ texhash
texhash: /usr/local/texlive/2013/../texmf-local: directory not writable. Skipping...
texhash: /usr/local/texlive/2013/texmf-config: directory not writable. Skipping...
texhash: /usr/local/texlive/2013/texmf-dist: directory not writable. Skipping...
texhash: /usr/local/texlive/2013/texmf-var: directory not writable. Skipping...
texhash: Done.
wireless-10-146-48-120:~ jungsookim$ mktexlsr
mktexlsr: /usr/local/texlive/2013/../texmf-local: directory not writable. Skipping...
mktexlsr: /usr/local/texlive/2013/texmf-config: directory not writable. Skipping...
mktexlsr: /usr/local/texlive/2013/texmf-dist: directory not writable. Skipping...
mktexlsr: /usr/local/texlive/2013/texmf-var: directory not writable. Skipping...
mktexlsr: Done.
wireless-10-146-48-120:~ jungsookim$ 

What's wrong with this?

I successfully installed them on my previous mac machine and my windows machine; but, for some reason, I have been struggling with this.

1

As the texhash and mktexlsr need to write to system files within the /usr/local directory, you will need to run the commands with sudo (i.e. sudo texhash and sudo mktexlsr) This will prompt for your password, and will then run the programs with administrator privlidges.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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