17/01/2015

[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