How to install hp smart printer on rocky linux 9

You downloaded an rpm, which is dependent on another package that is not available. Easier would be:

dnf install hplip

to use the one from the repositories provided by Rocky. If you want to use the one you downloaded manually from wherever you got it, then you will also need to manually download all of it’s dependencies. Using the command like I posted above, will pull in dependencies from Rocky’s repositories.

2 Likes