0

I recently install Ubuntu and really need my HP Deskjet 2130 series drivers.

I went to the HPLIP official website and downloaded the drivers, followed the instructions, executed the .run file, followed some more instructions and then it asked me to download some missing dependencies (most of which had "python"). I let the installer do its thing. Then it said it failed to download the missing dependencies, so I am unable to install HPLIP until this is fixed.

Screen shot of errors

Enterprise
  • 12,352

1 Answers1

2

You can install hplip using the following command on Ubuntu 21.04

sudo apt-get install hplip hplip-gui

This may not give the latest version. To install latest version, first remove python2 and restart.

sudo apt-get install python-is-python3
sudo apt-get autoremove --purge
reboot

While running cmake, I got issues about missing dependencies. Install these dependencies with the following command.

sudo apt-get install libavahi-core-dev

Then download the installer from https://developers.hp.com/hp-linux-imaging-and-printing/gethplip and run it. Use one of the embedded script or the tarball.

  • none of them work. both of them have errors the HP Download package wants a non supported phyton package and via apt you get: error: No device selected/specified or that supports this functionality. because the setup does not find the models.dat very annoying – fw114 Mar 16 '22 at 11:37