Manual Build and Install Instructions for Debian
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. Update your apt repositories.
Enter this command:
su -c "apt-get update"
C. Install the required dependency packages.
For Debian 4.0x (Etch):
su -c "apt-get install --force-yes -y cupsys cupsys-client libcupsys2-dev cupsys-bsd libcupsimage2-dev build-essential gs-esp libssl-dev libjpeg62-dev libsnmp9-dev libc6 libtool libusb-dev make python-imaging python-qt3 python-dbus libdbus-1-dev python-dev python-notify python python-ctypes python-reportlab sane libsane-dev sane-utils xsane"
For Debian 5.0x (Lenny):
su -c "apt-get install --force-yes -y cupsys cupsys-client libcupsys2-dev cupsys-bsd libcupsimage2 libcupsimage2-dev libdbus-1-dev g++ gs-esp libssl-dev libjpeg62-dev libsnmp-dev libc6 libtool libusb-dev make python-imaging policykit policykit-gnome python-qt4 python-qt4-dbus python-dbus python-gobject python-dev python-notify python python-reportlab sane libsane-dev sane-utils xsane"
Step 3: 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: Run Make
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: Run Make Install
A. This step will install HPLIP.
Enter this command:
su -c "make install"
Step 7: Post Installation Step(s)
A. For normal users other than root add user name to "lp" group:
su -c "usermod -a -G lp username"
Restart your PC (or) logout and login.
B. 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:
- Unlpug and re-plug in the USB printer, or
- Restart your PC.
Failure to do this will cause your USB printer to not be detected by HPLIP.