linux - "Error: Nothing to do" While installing GIT using yum -


i got below error while installing git version 4.1.2(1)-release (x86_64-redhat-linux-gnu)

command: sudo yum install git

loaded plugins: product-id, refresh-packagekit, security, subscription-manager updating certificate-based repositories. unable read consumer identity setting install process no package git available. error: nothing 

command : yum repolist

loaded plugins: product-id, refresh-packagekit, security, subscription-manager updating certificate-based repositories. unable read consumer identity repolist: 0 

steps

  1. install packages enterprise linux called epel using below command

yum install epel-release

2.after this,you notice following repository files added yum.repos.d directory in server.

ls -lh /etc/yum.repos.d/

  1. then proceed command.

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -