Installing Git on CentOs

前端 未结 2 534
渐次进展
渐次进展 2021-02-15 01:28

I want to install git on CentOs, i\'m running this command

yum install git-core

But the problem is, I am getting these errors:

         


        
2条回答
  •  走了就别回头了
    2021-02-15 02:32

    i had the same issue installing git on a remote server and after searching a while i found a gcc dependency the way to resolve it is yum -y install gcc after that yum -y install git

    i hope that this can help

    find out if everything was ok by searching for the git which git it should give you a path to the git installation and for been more shure git --version

提交回复
热议问题