[Tex/LaTex] How to fix iftex.sty not found issue

acmacmartpdftex

I am asked to use the latest acmart style for my paper. However, when I downloaded the template and tried to compile the sample text, it failed with message ! LaTeX Error: File iftex.sty not found.

My command is: > pdflatex sample-sigplan.tex (also tried latex)
and the package and template I downloaded is https://www.acm.org/publications/proceedings-template
and the acmart.cls is from http://www.sigplan.org/sites/default/files/acmart/current/acmart.cls

My system is Ubuntu 14.04. How to fix it?

Best Answer

iftex.sty is part of the texlive-generic-extra package:

sudo apt-get install texlive-generic-extra