Reputation: 93
I am using DNF package manager for installing rpms on centos 7.x.The rpms are checked out from the svn private repo. DNF is not able to install the rpm if I throw a command
dnf -y install docker-common-{{docker_version}}*.rpm
Whereas if I use rpm command to install the packages,its doing fine
rpm -i docker-common-{{docker_version}}*.rpm,its able to install
Is there any feature in dnf for installing the rpm without specifying whole line of rpm like below:
dnf -y install docker-client-1.12.6-61.git85d7426.el7.centos.x86_64.rpm
Upvotes: 1
Views: 1756
Reputation: 1767
You can simply say the rpms are in your current directory with a ./* like:
dnf install ./docker-common-*
Upvotes: -1