How to set up HP printer and scaner on CentOS 7?

How to set up the driver for an HP all-in-one printer/scanner on CentOS 7 Linux?

First, install these packages and it may ask you to download and install other plugins. Without these packages, my printer does work.

# yum install hplip hplip-gui hpijs

Second, install plugins for the HP printer.

# hp-plugin

Then you can try to install the printer again:

# hp-setup
Answered by Eric Z Ma.

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.


  1. I have tried for hours to install a HP Deskjet Ink Advantage 2676 Printer wireless to no avail
    When running hp_setup the printer is not seen. I run Windows (dual-boot) on the same box and the printer is fine from Windows. Any help would be appreciated.

Leave a Reply

Your email address will not be published. Required fields are marked *