[root@moodle ~]# yum install texlive-latex
[root@localhost ~]# ls /usr/bin/{latex,dvips} /usr/bin/dvips /usr/bin/latex
[root@localhost ~]# yum install ImageMagick
[root@localhost ~]# ls /usr/bin/convert /usr/bin/convert