[CentOS] Installing multiple rpm binary files using yum or dnf package manager.

Tue Dec 27 13:52:26 UTC 2022
Kaushal Shriyan <kaushalshriyan at gmail.com>

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