In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to upgrade Git1.7.1 to Git2.2.1 in Centos, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.
Installation requirements: > # yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel asciidoc > # yum install gcc perl-ExtUtils-MakeMaker error: ```/ utf8.c:463: undefined reference to `libiconv'``` > # wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz># tar zxvf libiconv-1.14.tar.gz > # cd libiconv-1.14 > #. / configure-- prefix=/usr/local/libiconv > # make & & make install uninstall git1.7.1 that comes with Centos:
Check the version of the system through git-version. Cento6.5 should come with 1.7.1 version of git.
> # yum remove git download git2.2.1 and add git to the environment variable > # wget https://github.com/git/git/archive/v2.2.1.tar.gz># tar zxvf v2.2.1.tar.gz > # cd git-2.2.1 > # make configure > #. / configure-- prefix=/usr/local/git-- with-iconv=/usr/local/libiconv > # make all doc > # make install install-doc install-html > # echo "export PATH=$PATH:/usr/ Local/git/bin "> / etc/bashrc > # source / etc/bashrc View version number > # git-- version > git version 2.2.1 Thank you for reading this article carefully I hope the article "how to upgrade Git1.7.1 to Git2.2.1 in Centos" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.