How to install driver for HP Printer in Debian. Step by Step.
Step 1
A. Open a terminal shell.
B. Update your apt repositories.
Enter this command:
su -c "apt-get update"
C. Install the required dependency packages.
For Debian 6.0x:
su -c "apt-get install --force-yes -y avahi-utils cups libcups2 libcups2-dev cups-bsd cups-client libcupsimage2 libcupsimage2-dev libdbus-1-dev g++ gs-esp libssl-dev libjpeg62-dev libsnmp-dev libc6 libtool libusb-1.0.0-dev make wget python-imaging policykit-1 policykit-1-gnome python-qt4 python-qt4-dbus python-dbus python-gobject python-dev python-notify python python-reportlab sane libsane-dev sane-utils xsane"
For Debian 7.0x in python2 environment:
su -c "apt-get install --force-yes -y avahi-utils cups libcups2 libcups2-dev cups-bsd cups-client libcupsimage2 libcupsimage2-dev libdbus-1-dev g++ ghostscript ghostscript-cups ghostscript-x libssl-dev libjpeg8-dev libsnmp-dev libc6 libtool libusb-1.0.0-dev make wget python-imaging policykit-1 policykit-1-gnome python-qt4 python-qt4-dbus python-dbus python-gobject python-dev python-notify python python-reportlab sane libsane-dev sane-utils xsane"
Step 2
A. Click here to Download the Regular Tarball
B. Go to the directory where you downloaded the HPLIP tarball.
Example:
cd ~/Downloads
C. Uncompress the tarball.
Enter this command:
tar xvf hplip-3.15.2.tar.gz
This will create a directory with the same name as the tarball file.
D. Change your working directory to the hplip-3.15.2 directory.
Example:
cd hplip-3.15.2
Step 4
A. 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):
32 bit distro users (most users will use this command):
./configure --prefix=/usr --with-hpppddir=/usr/share/ppd/HP --enable-qt4 --enable-hpcups-install --enable-cups-drv-install --disable-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 --disable-libusb01_build --disable-udev_sysfs_rules --enable-doc-build
64 bit distro users:
./configure --prefix=/usr --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib64 --enable-qt4 --enable-hpcups-install --enable-cups-drv-install --disable-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 --disable-libusb01_build --disable-udev_sysfs_rules --enable-doc-build
Step 5
A. 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 6
A. This step will install HPLIP.
Enter this command:
su -c "make install"
Read more @ HP Open Source















