简体   繁体   中英

Unable to install git in redhat linux server

While installing git in redhat linux it asked for few dependencies for installation of git.

i downloaded them nut while installing it throughs below error.

[root@sudhakar ~]# rpm -ivh git-1.7.1-2.el6_0.1.x86_64.rpm warning: git-1.7.1-2.el6_0.1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 192a7d7d: NOKEY error: Failed dependencies: perl(Git) is needed by git-1.7.1-2.el6_0.1.x86_64 perl-Git = 1.7.1-2.el6_0.1 is needed by git-1.7.1-2.el6_0.1.x86_64

[root@sudhakar ~]# rpm -ivh perl-Git-1.7.1-2.el6_0.1.noarch.rpm warning: perl-Git-1.7.1-2.el6_0.1.noarch.rpm: Header V4 DSA/SHA1 Signature, key ID 192a7d7d: NOKEY error: Failed dependencies: git = 1.7.1-2.el6_0.1 is needed by perl-Git-1.7.1-2.el6_0.1.noarch

Whereas i have downloaded both the packages required here, but unable to install any of them.

Use yum localinstall git-1.7.1-2.el6_0.1.x86_64.rpm. It will automatically download the required dependencies if you have yum repositories configured.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM