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?

1 Answer 1


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


(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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .