HP Linux Imaging and Printing

Print, Scan and Fax Drivers for Linux

Manual Build and Install Instructions for RHEL

Step 1: Installation Prerequisite Steps

View the current Release Notes for additional information on this release.


You will need root access to complete many of the steps while installing HPLIP. If you do not have root access contact your system admin for assistance.

Step 2: Download the RHEL HPLIP RPM Package

A. Click here to download the HPLIP RHEL package. Save the package in an area that works for you--we suggest downloading it to the Desktop so that it's easy to find later.

Step 3: Install the RHEL Package for HPLIP

In a terminal run:

cd ~/Desktop/
su -c "rpm -ev --nodeps libsane-hpaio"
su -c "rpm -ev --nodeps hplip-gui"
su -c "rpm -ev --nodeps hplip"
su -c "rpm -ev --nodeps hpijs"
su -c "rpm -ev --nodeps hplipfull"
su -c "yum clean all"
su -c "yum check-update"


For RHEL 6 use the below commands:

In a terminal run:

su -c "yum install PyQt4 Python-Imaging xsane"

For 32 bit distro users.

su -c "rpm -Uvh hplip-3.17.9_rhel-6.0.i686.rpm"

For 64 bit distro users.

su -c "rpm -Uvh hplip-3.17.9_rhel-6.0.x86_64.rpm"


For RHEL 7 use the below commands:

In a terminal run:

su -c "yum install PyQt4 Python-Imaging xsane"

su -c "rpm -Uvh hplip-3.17.9_rhel-7.0.x86_64.rpm"

Step 4: Post installation instructions

A. Disable SELinux or run SELinux in permissive mode or install hplip SElinux profile of HPLIP:

Open file "/etc/selinux/config"
set "SELINUX=permissive"
Restart your system


To change the state of SELinux to permissive at run time run su -c "setenforce 0"


For RHEL 6 :
cd /usr/share/hplip/selinux
cp /usr/share/selinux/devel/Makefile ./
make load

For RHEL 7:
cd /usr/share/hplip/selinux
semodule -n -i hplip.pp

B. For normal users other than root add user name to "lp" and "sys" group:

su -c "/usr/sbin/usermod -a -G lp,sys $USER"

C. If installed version of ghostscript is less than 8.70, upgrade ghostscript version to 8.70 (For RHEL5.x only):

gs -v (provides installed ghostscript version)
su -c "rpm -ev --nodeps <GHOSTSCRIPT>"
              (where <GHOSTSCRIPT> = output of rpm -qa | grep ghostscript-8)
su -c "yum install ghostscript-8.70"

D. Restart your PC (or) Logout and Login

Step 5: Configuring your printer using hp-setup

A. To configure the printer in the terminal run:

su -c "hp-setup"

B. NOTE: For RHEL5.x USB connected printer, print queue may get paused due to removal of usblp kernel module by HPLIP after either queue setup or System reboot. Print queue needs to be resumed manually in this case:

su -c "system-config-printer"

The HPLIP and the printer should now be installed and configured.