Created
March 26, 2016 11:14
-
-
Save grenade/f11e9f32bbb2ce2fed82 to your computer and use it in GitHub Desktop.
Upgrade git to 2.7.4 on Fedora 23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo dnf erase -y git | |
| sudo dnf install -y curl-devel expat-devel gettext-devel openssl-devel perl-devel zlib-devel asciidoc xmlto docbook2X | |
| sudo ln -s /usr/bin/db2x_docbook2texi /usr/bin/docbook2x-texi | |
| wget https://www.kernel.org/pub/software/scm/git/git-2.7.4.tar.gz | |
| wget https://www.kernel.org/pub/software/scm/git/git-2.7.4.tar.sign | |
| gpg2 --keyserver gpg.mozilla.org --recv-keys 96AFE6CB | |
| gunzip git-2.7.4.tar.gz | |
| gpg2 --verify git-2.7.4.tar.sign git-2.7.4.tar | |
| tar -zxvf git-2.7.4.tar.gz && cd git-2.7.4 | |
| make configure | |
| ./configure --prefix=/usr | |
| make all doc info | |
| sudo make install install-doc install-html install-info |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment