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

Tue Dec 27 14:10:15 UTC 2022
Anand Buddhdev <anandb at ripe.net>

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