The recommended approach is the Pandoc Docker container one. 
Using the supplied Dockerfile, Docker creates a Fedora based container and isolates the Pandoc installation.
This is a seamless process, saving you from dealing with Pandoc and dependencies on your own computer.