end0tknr's kipple - web写経開発

太宰府天満宮の狛犬って、妙にカワイイ

install git ver.2.34.1 from source to cent7.9

cent7.9への vuls installの際、gitを必要としますが、 cent7.9付属のgitは、ver.1.8.3.1 で古く、vuls をinstallできませんでしたので

refer to https://github.com/git/git/blob/master/INSTALL

$ sudo yum install asciidoc xmlto libcurl-devel

$ sudo yum --enablerepo=extras install epel-release
以下の ln -s は、普通、気づかないですね。
$ sudo yum install --enablerepo=epel docbook2X docbook-utils
$ sudo ln -s /usr/bin/db2x_docbook2texi /usr/bin/docbook2x-texi
$ wget https://github.com/git/git/archive/refs/tags/v2.34.1.tar.gz
$ tar -xvf v2.34.1.tar.gz
$ cd git-2.34.1
$ make configure
$ ./configure --prefix=/usr/local

$ make all
$ sudo make install