首页 > 代码库 > centos7如何安装pandoc

centos7如何安装pandoc

1	Install stack1.1	Add the appropriate source repository:curl -sSL https://s3.amazonaws.com/download.fpcomplete.com/centos/7/fpco.repo | sudo tee /etc/yum.repos.d/fpco.repo1.2	Install:sudo yum -y install stack2	fetch the development pandoc code by cloning the repositorygit clone https://github.com/jgm/pandoccd pandocgit submodule update --init   # to fetch the templates3	install the dependency libs:zlibsudo yum install zlib-devel4	install pandocstack setupstack install5	wait….6	Configure PATHvi /etc/profileAt the end of the file, add “export PATH=/root/pandoc/.stack-work/install/x86_64-linux/lts-6.14/7.10.3/bin:$PATH”Source /etc/profile

  

 

centos7如何安装pandoc