I've tried to install hplip-3.15.7.run which I downloaded from hplipopensource. When I run the file, I always get stuck on the missing required dependencies as below. It does not give specific dependencies that I need to install.
MISSING DEPENDENCIES
Following dependencies are not installed. HPLIP will not work if all REQUIRED dependencies are not installed and some of the HPLIP features will not work if OPTIONAL dependencies are not installed. Package-Name Component Required/Optional libnetsnmp-devel network REQUIRED
sane-devel scan REQUIRED xsane
scan OPTIONAL gcc base
REQUIRED dbus fax
REQUIRED