In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Centos6 uses yum install git to install a relatively low version of git. The current version is 1.7.1. We can download the new version of git source code package to compile and install it:
1. Install the packages required to compile git
Yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel-y
Yum install gcc perl-ExtUtils-MakeMaker-y
Remove the git package installed by yum (if it is already installed)
Yum remove git
two。 Download the git source code
Cd / usr/local/src
download
Wget https://www.kernel.org/pub/software/scm/git/git-2.14.0.tar.gz
Decompression
Tar zxvf git-2.14.0.tar.gz
3. Compilation and installation
Cd git-2.14.0
. / configure prefix=/usr/local/git
Make & & install
Export PATH=$PATH:/usr/local/git/bin
Execute git-- version to check the version number after installation
[root@www git] # git-- version
Git version 2.14.0
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.