Installation of HP smart on ubuntu Budgie throws up dependencies error

Hello Guys,

i am stuck again, this time while Installing HP smart on my ubuntu budgie desktop. I downloaded the package from the HP support website and while trying to install via CLI it throws up dependency errors as the dependencies fail to install.

I would really appreciate your help.

Thank you in advance.


answer kind of depends what the errors are - so you’ll need to show them here together with how you are trying to install the package

Question is - why are you installing stuff like this from an external site such as HP. Very unusual since they should be available and updated from the normal repository packages.

Hello FrossFreedom,

Thank you for your reply.

I used sh followed by the package name ( as shown in the installation instruction guide). I need this application to scan my documents, if there is any other alternative please let me know.

Below are the installation steps followed ( I tried running as a root user but the error was the same)

ash@ash-HP-Notebook:~/Downloads$ sh

Creating directory hplip-3.12.2

Verifying archive integrity… All good.

Uncompressing HPLIP 3.12.2 Self Extracting 369: cd: can’t cd to hplip-3.12.2

… 371: cd: can’t cd to hplip-3.12.2

chown: cannot read directory ‘./hplip-3.12.2’: Permission denied

chown: cannot read directory ‘./hplip-3.20.9’: Permission denied

chgrp: cannot read directory ‘./hplip-3.12.2’: Permission denied

chgrp: cannot read directory ‘./hplip-3.20.9’: Permission denied 382: cd: can’t cd to hplip-3.12.2

HP Linux Imaging and Printing System (ver. 3.12.2)

HPLIP Installer ver. 5.1

Copyright © 2011-14 Hewlett-Packard Development Company, LP

This software comes with ABSOLUTELY NO WARRANTY.

This is free software, and you are welcome to distribute it

under certain conditions. See COPYING file for more details.

Installer log saved in: hplip-install_Fri-23-Oct-2020_15:16:07.log


note: Defaults for each question are maked with a ‘*’. Press to accept the default.


Automatic mode will install the full HPLIP solution with the most common options.

Custom mode allows you to choose installation options to fit specific requirements.

Please choose the installation mode (a=automatic*, c=custom, q=quit) : a

Initializing. Please wait…


This installer will install HPLIP version 3.12.2 on your computer.

Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).


Distro appears to be Ubuntu 20.04.

Is “Ubuntu 20.04” your correct distro/OS and version (y=yes*, n=no, q=quit) ? y


Please enter the user (ash)'s password:

Password accepted




warning: There are 1 missing REQUIRED dependencies.

note: Installation of dependencies requires an active internet connection.

warning: Missing REQUIRED dependency: libusb (libusb - USB library)

warning: This installer cannot install ‘libusb’ for your distro/OS and/or version.

error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.


V3.20 of hplip is already available and should be already installed on Ubuntu Budgie 20.04

If you have removed it …

sudo apt install hplip

I have not removed it. I am able to print without issues however I need to scan as well but I do not see any application with which I can do so. Is there way i can scan the documents (my printer also has a scanner)

thank you for your patience and the help you have been providing

Just type scan in the menu - the scanner software is preloaded and is called SimpleScan

Found it, thank you very much.

Appologies for acting so dum

no worries - glad everything work out for you.