码迷,mamicode.com
首页 > 其他好文 > 详细

centos7如何安装pandoc

时间:2016-09-01 11:13:13      阅读:1519      评论:0      收藏:0      [点我收藏+]

标签:

1	Install stack
1.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.repo
1.2	Install:
sudo yum -y install stack

2	fetch the development pandoc code by cloning the repository
git clone https://github.com/jgm/pandoc
cd pandoc
git submodule update --init   # to fetch the templates
3	install the dependency libs:zlib
sudo yum install zlib-devel
4	install pandoc
stack setup
stack install
5	wait….
6	Configure PATH
vi /etc/profile
At 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

标签:

原文地址:http://www.cnblogs.com/liujiaq/p/5828649.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!