Step 3: Install the RHEL Package for HPLIP
Note
RHEL 5 and later use the below commands:
In a terminal run:
cd ~/Desktop/
su -c "rpm -ev --nodeps libsane-hpaio"
su -c "rpm -ev hplip-gui"
su -c "rpm -ev hplip"
su -c "rpm -ev hpijs"
su -c "yum install PyQt"
su -c "yum install xsane"
For 32 bit distro users.
su -c "rpm -Uvh hplip-3.10.6_rhel-5.0.i386.rpm"
For 64 bit distro users.
su -c "rpm -Uvh hplip-3.10.6_rhel-5.0.x86_64.rpm"
Step 4: Post installation instructions
A. Disable SELinux or run SELinux in permissive mode:
Open file "/etc/selinux/config"
set "SELINUX=permissive"
Restart your system
or
To change the state of SELinux to permissive at run time run su -c "setenforce 0"
B. For normal users other than root add user name to "lp" group:
su -c "usermod -a -G lp $USER"
C. 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"
The HPLIP and the printer should now be installed and configured.