Manual Build and Install Instructions for Linux Mint
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:
sudo apt-get update
C. Install the required dependency packages.
Enter this command: (choose the appropriate command depending on your version)
Linux Mint 5
sudo aptitude install --assume-yes libcupsys2 cupsddk cupsddk-drivers libcupsys2-dev cupsys-bsd libdbus-1-dev build-essential gs-esp openssl libjpeg62-dev libsnmp-dev libtool libusb-dev python-imaging python-qt4 python-qt4-dbus python-dbus python-gobject python2.5-dev python python-reportlab libsane libsane-dev sane-utils xsane
Linux Mint 8
Note
Linux Mint 8 supplies HPLIP 3.9.8
sudo aptitude install --assume-yes libcups2 cups libcups2-dev cups-bsd cups-client libcupsimage2-dev libdbus-1-dev build-essential ghostscript openssl libjpeg62-dev libsnmp-dev libtool libusb-dev python-imaging policykit-1 policykit-1-gnome python-qt4 python-qt4-dbus python-dbus python-gobject python-dev python-notify python python-reportlab libsane 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.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.10.2 directory.
Example:
cd hplip-3.10.2
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. Run the symlink fix script.
sudo python ./installer/fix_symlink.py
Or to run the script manually run:
cat /installer/fix_symlink.py
B. This step will install HPLIP.
Enter this command:
sudo 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.