Software >> OS >> Unix >> Linux >> Red Hat Enterprise Linux >> How to use rpm to install packages with circular dependencies

eg. p1.rpm depends on p2.rpm and p2 depends on p1.rpm

put all the dependent rpms into one directory and test until no more complaints

# rpm -ivh --test *.rpm

if ok, then

# rpm -ivh *.rpm