-bash: git: command not found的解决
1、启用 EPEL 存储库2、安装 git 命令
[b]启用EPEL存储库[/b]
RHEL/CentOS 7 64位:[code]wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -ivh epel-release-latest-7.noarch.rpm[/code]RHEL/CentOS 6 32位:[code]get http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm[/code]注:CentOS 7 不支持 32位 EPEL 存储库,所以用RHEL/CentOS 6 32位的。
[b]安装 git 命令[/b][code]yum install -y git[/code]
页:
[1]