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
- 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/
- then proceed command.
Comments
Post a Comment