Is there a way to run an RPM installation in parallel?

I am working on the task of increasing productivity during the deployment process. Looking through this process, I see that rpm is installed sequentially, and the installation of a dependent package takes longer. I am new to RPM and am looking for a way to run this installation in parallel to reduce deployment time.

It would be great if you would offer me a suggestion / solution to run these rpms in parallel!

+5
source share
1 answer

Therefore, when you install RPM, it creates the so-called rpm database lock, and this lock file prevents another instance of rpm from starting (and by the yum association). I guess this was put in place to ensure that the transaction does not get confused when several packages try to install. Imagine that you have a package that requires an updated version of lib that you are already installing, how it could happen if two processes tried to change these files one by one, as if they would link the library to which reference ones problems may be, etc.?

, RPM , , rpm, , , .

, , , RPM? :

WHERE, RPM , - EPEL , , , , , , , .

, , yum . , , , .

, , . , ? RPM, ( ), , , ( , )?

, , , .

+4

All Articles