Installation - Step 3 - Download and install HPLIP software
If you already have the latest HP printing software installed, then proceed to Step 4: Add the Printer.
If the HP printing software is not included with your Linux distribution, or you want to ensure that you have the latest version of the software, follow these steps to download and install the HP printing software.
Warning: If you are upgrading HPLIP and HPLIP is already preinstalled with your distribution, or you if you installed HPLIP using an RPM, DEB, or other package, please uninstall the previous version using the method specific for your distribution. If you do not do this, you may have package conflict issues or functionality problems.
- Download the HPLIP tar file that contains the current HP printing software from the HPLIP sourceforge download page.
- Make note the folder in which you save the HPLIP tar.gz file.
- Open a console/terminal window.
- Enter this command to navigate to the folder that contains the HPLIP tar file that you downloaded in step 1:
cd [file path]
(for example: cd /home/user/documents)
- Enter this command to extract the driver files from the HPLIP tar file:
tar xvfz [HPLIP filename.tar.gz]
(for example: $ tar xvfz hplip-0.9.tar.gz)
The files are extracted to a directory named for the HPLIP version (for example, "hplip-0.9").
- Enter this command to navigate to the directory containing the HPLIP files:
cd [folder name]
(Example: # cd hplip-0.8)
- Enter this command (for 32-bit only - for 64-bit, skip this step and do step 8):
./configure --prefix=/usr
Important
Special step required for 64-bit systems.
- For 64-bit Systems enter this command:
./configure --prefix=/usr --libdir=/usr/lib64
- Enter this command:
make
- Follow these steps to log in as the super user:
If you are using Ubuntu go to Step 14.
Enter this command:
su
- Press Enter.
- Enter the root password.
Warning
The root password gives you administrative privileges on the system.
- Press Enter.
- Enter this command:
make install
For Ubuntu, Enter this command:
sudo make install
- Enter this command:
/etc/init.d/hplip restart
For Ubuntu, enter this command:
sudo /etc/init.d/hplip restart
- Enter this command:
/etc/init.d/cups restart
For Ubuntu, enter this command:
sudo /etc/init.d/cupsys restart
Proceed to step 4.