Kaushal Shriyan
2022-Dec-27 13:52 UTC
[CentOS] Installing multiple rpm binary files using yum or dnf package manager.
Hi, I am running CentOS Linux release 7.9.2009 (Core) and have a few rpms inside a specific folder. I know it is possible using rpm command to install multiple rpm binary files using the below command. #cd rpmbinaries #rpm -ivh *.rpm Is there a way to install them using dnf or yum package manager? I have php81-php-pecl-zip-1.21.1-1.el7.remi.x86_64 rpm, is there a way to find the dependencies rpm required before installing? Please guide me. Thanks in advance. Best Regards, Kaushal
Anand Buddhdev
2022-Dec-27 14:10 UTC
[CentOS] Installing multiple rpm binary files using yum or dnf package manager.
On 27/12/2022 14:52, Kaushal Shriyan wrote: Hi Kaushal,> I am running CentOS Linux release 7.9.2009 (Core) and have a few rpms > inside a specific folder. I know it is possible using rpm command to > install multiple rpm binary files using the below command. > > #cd rpmbinaries > #rpm -ivh *.rpm > > Is there a way to install them using dnf or yum package manager?Yes, it's possible. Please read the manual pages of yum and dnf, and look for the "localinstall" sub-command. Regards, Anand