1

I am using latex on a Linux system without root-access but I am missing several style files for compilation.

! LaTeX Error: File `currvita.sty' not found.

I know that I could copy the missing files directly in the folder with the .tex file but that helps only with the current document.

Is there a way to install the latex packages in my home so I have them available for all documents and avoid using the distribution package manager?

migrated from stackoverflow.com Mar 19 '16 at 9:36

This question came from our site for professional and enthusiast programmers.

0

Yes, it's possible. You should set TEXINPUTS variable: it stores the directories where your files place:

TEXINPUTS=.:/your/desired/path

(Note the first . - this will the current working directory)

Copy your files to /your/desired/path and run mktexlsr /your/desired/path.

See man tex for more.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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