Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

HP Linux imaging and printing

Print, scan and fax drivers for Linux
» 

Home

» About HPLIP
» Screenshots
» Release information
» Licensing information
» Get help

Install and setup

» Download instructions
» Installation instructions
» Installation wizard
» Supported printers
» System requirements
Visit the Consumer Support Forums
Download drivers & software
Content starts here

Manual Build and Install Instructions for Fedora Core

Step 1: Installation Prerequisite Steps

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

Note

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: Install Dependency Packages

A. Open a terminal shell.

B. Install the required dependency packages.

Fedora 8 and below:

su -c "yum -y -d 10 -e 1 install cups cupsddk cupsddk-drivers cupsddk-devel cups-devel dbus-devel pygobject2 gcc-c++ ghostscript openssl-devel libjpeg-devel net-snmp-devel glibc-headers libtool libusb-devel make python-imaging PyQt dbus-python python-devel python python-reportlab sane-backends sane-backends-devel sane-frontends xsane"

Fedora 9 and above

su -c "yum -y -d 10 -e 1 install cups cups-devel dbus-devel gcc-c++ ghostscript openssl-devel libjpeg-devel net-snmp-devel glibc-headers libtool libusb-devel make python-imaging polkit polkit-gnome PyQt4 dbus-python pygobject2 python-devel notify-python python python-reportlab sane-backends sane-backends-devel sane-frontends xsane"

Step 3: Pre Installation Step(s)

In a terminal run:

su -c "rpm -ev --nodeps libsane-hpaio"
su -c "rpm -ev hplip-gui"
su -c "rpm -ev hplip"
su -c "rpm -ev hpijs"

Step 4: Download HPLIP

Note

We recommend that you download the HPLIP tarball to your home or desktop directory.

A. Click here to Download the Regular Tarball

B. Go to the directory where you downloaded the HPLIP tarball.

Example:

cd ~/Desktop

C. Uncompress the tarball.

Enter this command:

tar xvfz hplip-3.10.6.tar.gz

This will create a directory with the same name as the tarball file.

D. Change your working directory to the hplip-3.10.6 directory.

Example:

cd hplip-3.10.6

Step 5: Configure HPLIP for installation

This step configures the development environment and checks that your system is ready to install HPLIP.

For specific information on using ./configure and the different options please go here. Also reference your distro documentation and configuration for additional information on which tags are relevant.

Enter this command (select the appropriate command depending on your system configuration):

Note

Fedora 8 and below:

32 bit distro users:

./configure --prefix=/usr --with-hpppddir=/usr/share/cups/model/HP --enable-qt3 --disable-qt4 --enable-hpcups-install --enable-cups-drv-install --enable-cups-ppd-install --disable-hpijs-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-foomatic-rip-hplip-install --enable-fax-build --enable-dbus-build --enable-network-build --enable-scan-build --disable-policykit

64 bit distro users:

./configure --prefix=/usr --with-hpppddir=/usr/share/cups/model/HP --libdir=/usr/lib64 --enable-qt3 --disable-qt4 --enable-hpcups-install --enable-cups-drv-install --enable-cups-ppd-install --disable-hpijs-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-foomatic-rip-hplip-install --enable-fax-build --enable-dbus-build --enable-network-build --enable-scan-build --disable-policykit

Note

Fedora 9 and above:

32 bit distro users:

./configure --with-hpppddir=/usr/share/cups/model/HP --prefix=/usr --enable-qt4 --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-policykit --enable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build

64 bit distro users:

./configure --with-hpppddir=/usr/share/cups/model/HP --libdir=/usr/lib64 --prefix=/usr --enable-qt4 --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-policykit --enable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build

Step 6: Run Make

This step will compile the HPLIP source.

Important

You want to run make as a regular user, NOT as root.

Enter this command:

make

Step 7: Run Make Install

This step will install HPLIP.

Enter this command:

su -c "make install"

Step 8: Post Installation Steps

A. Disable SELinux

Click:

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, you will need to do one of the following:

Command Line:

su -c "usermod -a -G lp $USER"

Gnome Mode:

System
Administration
Users and Groups
Enter your root password
Select username
Click on Properties Icon
Goto Groups Tab
Check to lp group
Ok

C. Restart your PC (or) Logout and Login

D. If you are going to be setting up a printer with USB and the printer is already plugged in, you will need to do one of the following:

  1. Unlpug and re-plug in the USB printer, or
  2. Restart your PC.

Failure to do this will cause your USB printer to not be detected by HPLIP.


Step 9: Configuring your printer using hp-setup

Continue to hp-setup

Browse Knowledge Base

» Search knowledge base
» Supported features
» How-to's
» Troubleshooting
» FAQ's
» Technical docs

 

» Login(Required to post)
   
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2010 Hewlett-Packard Development Company, L.P.