安装环境:centos7.2

安装依赖包:

yum install -y gcc
yum install -y openssl-1.0.1e-42.el7.9.x86_64 openssl-devel.x86_64
yum install -y curl.x86_64
yum install -y libcurl-devel.x86_64
yum install -y expat.x86_64 expat-devel.x86_64
yum install -y asciidoc.noarch
yum install -y xmlto.x86_64
......
yum install epel-release
yum install -y docbook2X.x86_64
ln -s /usr/bin/db2x_docbook2texi /usr/bin/docbook2x-texi
......
make prefix=/usr/local install install-doc install-html install-info

其中,安装docbook2X时,需要激活EPEL仓库来下载,下载完成后做一个软链接,否则找不到docbook2x-texi命令。

posted on 2018-10-25 11:36  京东  阅读(174)  评论(0编辑  收藏  举报