1. 程式人生 > >linux下從源代碼安裝git的問題(install from source)

linux下從源代碼安裝git的問題(install from source)

激活 ase -html 命令 下載 efi ssl pan nss

安裝環境: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命令。

linux下從源代碼安裝git的問題(install from source)