[Linux] Test RPM dependencies and installation without altering the system

So you already know how to do this with APT, but what if you're using an RPM-based distro?

Easily enough:

repoquery --requires --recursive --resolve PACKAGE_NAME

will check and list the package dependencies and:

rpm -ivh --test PACKAGE_NAME

will run a dry install which will show you what changes would take place without actually installing anything

No comments:

Post a Comment

With great power comes great responsibility.

Da grandi poteri derivano grandi responsabilità.