Skip to content

Installing Pandoc on CentOS

Installing Pandoc on CentOS#

Pandoc is not in yum repos, the release with the binary needs to be downloaded from their pandoc releases page

On centos:

cd /opt
wget https://github.com/jgm/pandoc/releases/download/2.10.1/pandoc-2.10.1-linux-amd64.tar.gz
tar -xvf pandoc-2.10.1-linux-amd64.tar.gz

Symlink a directory from the path to the binary just extracted:

ln -s /opt/pandoc-2.10.1/bin/pandoc /usr/bin/pandoc

Most likely xetex is also needed to for example export pdf or epub with nbconvert, this is in the repos:

yum install texlive-xetex

Source#