博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
CentOS 4 安装git
阅读量:6995 次
发布时间:2019-06-27

本文共 660 字,大约阅读时间需要 2 分钟。

$ sudo touch /etc/yum.repos.d/atrpms.repo /etc/yum.repos.d/dag.repo

/etc/yum.repos.d/atrpms.repo

[atrpms]name=ATrpms for Enterprise Linux $releasever - $basearchbaseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/stableenabled=0gpgcheck=1gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms

/etc/yum.repos.d/dag.repo

[dag]name=Dagenabled=0baseurl=http://dag.freshrpms.net/redhat/el4/en/$basearch/daghttp://ftp.heanet.ie/pub/freshrpms/pub/dag/redhat/el4/en/i386/dag/gpgcheck=1gpgkey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt

yum安装

$ yum --enablerepo=dag --enablerepo=atrpms install git

转载于:https://www.cnblogs.com/cosiray/archive/2012/05/03/2480683.html

你可能感兴趣的文章