Use*_*391 0 redhat yum git rhel6
我的目标是尝试在 RHEL 6 机器上安装 git。
我在这里看到过帖子:如何在 RHEL 6 上安装 git?
答案是指出现在 centOS 的一部分的下载链接:http : //mirror.anl.gov/pub/centos/6.3/os/x86_64/Packages/git-1.7.1-2.el6_0.1.x86_64。转速
我不愿意使用这样的链接,因为它是一个过时的 Git 版本,更重要的是,我的印象是,如果我使用 Fedora 或CentOS。
事实上,我从描述 EPEL 软件存储库的信息中得到了这个印象。
来自http://fedoraproject.org/wiki/EPEL
EPEL 包通常基于它们的 Fedora 对应版本,并且永远不会与基本企业 Linux 发行版中的包冲突或替换。
但是,根据链接的 serverfault 帖子的总体建议,我需要为 RHEL 安装“基本”存储库。
我怎样才能做到这一点?
对于它的价值,这是我的“repolist”:
$ yum repolist
Plugin "product-id" can't be imported
Plugin "subscription-manager" can't be imported
Loaded plugins: refresh-packagekit, security
repo id repo name status
epel Extra Packages for Enterprise Linux 6 - x86_64 8,220
repolist: 8,220
Run Code Online (Sandbox Code Playgroud)