Last active
September 5, 2022 16:25
-
-
Save avivey/3890330 to your computer and use it in GitHub Desktop.
install git from source (For Ubuntu)
This file contains 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
cd /tmp | |
wget -O git.zip https://github.com/git/git/archive/master.zip | |
unzip git.zip | |
cd git-* | |
sudo apt-get install make autoconf libcurl4-gnutls-dev gettext gcc zlib1g-dev | |
make configure | |
./configure --prefix=/usr --without-tcltk | |
make all | |
sudo make install | |
# For docs: | |
cd .. | |
git clone git://github.com/gitster/git-manpages.git | |
cd - | |
sudo make quick-install-man |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment