add a function to install pandoc