Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey is there a way I can see what dependencies an RPM has before trying to install it (or after installing it)? I looked around in man rpm but didn't see it.
No, that won't work if the RPM is already installed (it just says "suchandsuch is already installed". (Also, that doesn't list a dependencie unless it's missing it. )
you asked for the command to see what a package depends on before installing ..
which the above command should show, and also show any conflicts ...
try the following also ..
rpm --requires
and i am not sure why you would run that command if it is already installed ... if it is
installed then that means it doesn't require anything more, unless you forced it with
--nodeps ... and of course the above doesn't list any unless its missing them cause
thats the whole point, and like it or not, thats what you asked in the original post ...
Well, the command you gave does not show "what dependencies an RPM has", even before installing it. It would only show what the RPM needs and can't find. That's not the list of "what dependencies an RPM has". "Like it or not".
rpm --requires didn't work. thanks for trying tho, DrOzz.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.