I have installed latex and compiled tex file using pdflatex command, the file did not compile. It is showing revtex4-1.cls not found. How to fix this, please any one can help me.
Asked
Active
Viewed 2.0k times
1 Answers
12
The missing file is in texlive-publishers.
Please try sudo apt-get install texlive-publishers
and run pdflatex
again.

Klaus-Dieter Warzecha
- 2,750
-
not running the link,showing msg like this; E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? – srinatha Mar 01 '14 at 13:40
-
Are you're having Synaptic or the SoftwareCenter running? – Klaus-Dieter Warzecha Mar 01 '14 at 13:44
-
no. earlier some installation was running, but quit in between. Is that causing / preventing? – srinatha Mar 01 '14 at 13:46
-
That would have been a reason. We can't install with diffrent tools at the same time or install while updating/upgrading. – Klaus-Dieter Warzecha Mar 01 '14 at 13:48
-
1Hi. Thanks a lot. I have installed texlive-publishers and working well. thanks again – srinatha Mar 01 '14 at 13:51
-
Great! I'm glad we could figure that out so fast! – Klaus-Dieter Warzecha Mar 01 '14 at 13:56
-
Thanks for the answer @Klaus-DieterWarzecha . I also had similar problem (in Ubuntu 14.04). Then installed texlive-publishers. When compiled, I get another error: LaTeX Error: File `mhchem.sty' not found. How this can be solved? – phenomenon Sep 08 '17 at 09:02