For installation:

  • # yum install tetex*

For compiling and converting to pdf:

  • $ latex mkfig.tex
  • $ dvipdfm mkfig.dvi