[Tex/LaTex] Texmaker and moderncv with TeX Live 2011


I'm trying to do my CV with moderncv but Texmaker show me an error

!LaTeX Error:File 'moderncv.cls' not found. 

But the moderncv macro is installed in TeX Live 2011.

Best Answer

On Linux From a Terminal, type sudo mktexlsr to update the files database, and then kpsewhich moderncv.cls, just to check that it is correctly installed.

On Windows For TeX Live, you can start a Command Prompt with admin rights and proceed as for Linux (without sudo, of course). For MiKTeX, you are probably better using the graphical tools: update the Filename Database from the 'admin' version of the settings manager.