1、下载rpm安全包
wget http://mirror.umd.edu/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
2、rpm安装安全包
yum remove epel-releaserpm -ivh epel-release-6-8.noarch.rpm
3、安装git
yum listyum install -y git
4、查看git安装版本
git --version
时间: 2024-12-05 04:46:31
1、下载rpm安全包
wget http://mirror.umd.edu/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
2、rpm安装安全包
yum remove epel-releaserpm -ivh epel-release-6-8.noarch.rpm
3、安装git
yum listyum install -y git
4、查看git安装版本
git --version