Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

The missing file is in texlive-publishers.

Please try sudo apt-get install texlive-publishers and run pdflatex again.

share|improve this answer
    
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 1 at 13:40
    
Are you're having Synaptic or the SoftwareCenter running? –  Klaus Warzecha Mar 1 at 13:44
    
no. earlier some installation was running, but quit in between. Is that causing / preventing? –  srinatha Mar 1 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 Warzecha Mar 1 at 13:48
1  
Hi. Thanks a lot. I have installed texlive-publishers and working well. thanks again –  srinatha Mar 1 at 13:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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