HPLIP doesn't install on Linux Mint 21.3 Mate

Asked by Adveric Defu Megrez

I'm trying to install an HP Deskjet Ink advantage 1515 "specifically the scanner it worked even without the drivers a couple times but now it doesn't work" on my Linux Mint 21.3 Mate 1.26.0, while the installer is running through the terminal it shows me an error, it says:

"error: linuxmint-21.3 version is not supported, so all dependencies may not be installed. However trying to install using linuxmint-21.1 version packages."

I continue with the installation and then this error happens:

warning: Missing REQUIRED dependency: libtool (libtool - Library building support services)
warning: Missing REQUIRED dependency: cups-devel (CUPS devel- Common Unix Printing System development files)
warning: Missing REQUIRED dependency: cups-image (CUPS image - CUPS image development files)
warning: Missing REQUIRED dependency: libusb (libusb - USB library)
warning: Missing REQUIRED dependency: python3-devel (Python devel - Python development files)
warning: Missing REQUIRED dependency: libnetsnmp-devel (libnetsnmp-devel - SNMP networking library development files)
warning: Missing REQUIRED dependency: libcrypto (libcrypto - OpenSSL cryptographic library)
warning: Missing REQUIRED dependency: python3-pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))
warning: This installer cannot install 'python3-pyqt4' for your distro/OS and/or version.

I tried to install the dependencies by hand on the terminal and on synaptic and the system couldn't find any of these dependencies, What can I do? when would be the next update?

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Bernard Stafford (bernard010) said :
#1

https://developers.hp.com/hp-linux-imaging-and-printing/downloads
True it is not on the list for the automatic installer.
Here is the manual install instructions. Note, step #2.
https://developers.hp.com/hp-linux-imaging-and-printing/install/manual/distros/linuxmint
This you can copy/paste into your terminal.
You will have to restart then:
sudo apt update && sudo apt upgrade
Just to make sure all updates are in place.

Revision history for this message
Adveric Defu Megrez (advericoffucmegrez) said :
#2
Revision history for this message
Bernard Stafford (bernard010) said :
#3

In step #4 you would copy & paste the 64 bit distro input.

Revision history for this message
Adveric Defu Megrez (advericoffucmegrez) said :
#4
Revision history for this message
Adveric Defu Megrez (advericoffucmegrez) said :
#5

Yes I copy the 64 bits code and then get the error:

configure: error: cannot find net-snmp support (or --disable-network-build

I've searched for answers in a linux mint forum and that part is not a big problem the problem comes with the "Make" step, it gives me this error:

make: *** No specified object found and no makefile found. stop.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#6

If you are running Linux Mint, then the easiest way is installing the adapted HPLIP packages from the Ubuntu repositories (3.21.12 which is not the newest version of HPLIP, but for an HP DeskJet Ink Advantage 1515 any version since HPLIP 3.13.8 should be fine)

sudo apt install hplip hplip-gui

Revision history for this message
Adveric Defu Megrez (advericoffucmegrez) said :
#7

Thanks Manfred Hampl, that solved my question.