Install pandoc yum install -y texlive-latex texlive-latex-bin texlive yum install -y pandoc Given a file sample.md make sample.pdf pandoc -o sample.pdf sample.md