LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2016, 02:24 PM   #1
ostene
Member
 
Registered: Jul 2006
Location: Lidingo, Sweden
Distribution: Kubuntu
Posts: 54

Rep: Reputation: 1
Unable to install HPLIP


Hello

I downloaded hplip from 'hplipopensource.com'.
Installed '$ sh hplip-3.16.9.run'. All good.
-------------------Code start-------------------------------
'Uncompressing HPLIP 3.16.9 Extracting Arcive'
Many lines .............................
Installer log saved in: hplip-install_Thu-29-Sep-2016_15:50:53.log
/
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
error: rhel-7.2 version is not supported, so all dependencies may not be installed.
However trying to install using rhel-7.0 version packages.

Press 'y' to continue auto installation. Press 'n' to quit auto instalation(y=yes, n=no*): y

INSTALLATION MODE
-----------------
...

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
python-notify gui_qt4 OPTIONAL
Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ? y

INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing OPTIONAL dependency for option 'gui_qt4': python-notify
(Python libnotify - Python bindings for the libnotify Desktop notifications)

CHECKING FOR NETWORK CONNECTION
-------------------------------
Network connection present.

RUNNING PRE-PACKAGE COMMANDS
----------------------------
warning: An error occurred running 'su -c 'yum list update''
su -c 'yum list update' (Pre-depend step 1)
OK

DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'su -c 'yum -y -d 10 -e 1 install notify-python''
Please wait, this may take several minutes...
error: Command failed. Re-try #1...

I Downloaded "RPM Red Hat EL 7 notify-python-0.1.1-28.el7.x86_64.rpm"

RUNNING POST-PACKAGE COMMANDS
-----------------------------
OK

RE-CHECKING DEPENDENCIES
------------------------

PRE-BUILD COMMANDS
------------------
OK

BUILD AND INSTALL
-----------------
Running './configure --with-hpppddir=/usr/share/cups/model/HP
--libdir=/usr/lib64 --prefix=/usr --enable-qt4 --disable-qt5
--enable-doc-build --enable-cups-ppd-install --disable-foomatic-drv-install
--enable-libusb01_build --disable-foomatic-ppd-install
--disable-hpijs-install --disable-udev_sysfs_rules --disable-policykit
--disable-cups-drv-install --enable-hpcups-install --enable-network-build
--enable-dbus-build --enable-scan-build --enable-fax-build'
Please wait, this may take several minutes...

..............Text in light red ...............
error: Configure failed with error: libusb not found
error: output = checking for a BSD-compatible install... /usr/bin/install -c
checking
... lots of ...
checking for libusb-0.1 build... yes
...
checking for usb_init in -lusb... no
configure: error: cannot find libusb support

------------Code end--------------------------------------------

I ran 'locate libusb'
and found it on several places e.g.
/usr/include/libusb-1.0
/usr/lib64/libusb-0.1.so.4
/usr/lib64/libusb-0.1.so.4.4.4
/usr/lib64/libusb-1.0.so
/usr/lib64/libusb-1.0.so.0
/usr/lib64/libusb-1.0.so.0.1.0

Now I feel lika a newbie and dońt know what to do.

Thanks in forward
ostene
 
Old 09-29-2016, 02:41 PM   #2
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
Have you tried to install this with YUM?

Code:
yum install hplip
The mistake you are making is trying to install software without using YUM first.

Last edited by lazydog; 09-29-2016 at 02:42 PM.
 
2 members found this post helpful.
Old 09-29-2016, 06:47 PM   #3
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
your distro may not install the development files, which is why libusb is there but the pkg-config and header files aren't, so install the dev files then try again.
 
1 members found this post helpful.
Old 09-30-2016, 07:26 AM   #4
ostene
Member
 
Registered: Jul 2006
Location: Lidingo, Sweden
Distribution: Kubuntu
Posts: 54

Original Poster
Rep: Reputation: 1
Unable to install HPLIP

My try to yum install

[root@localhost hplip-3.16.9]# yum install hplip-3.16.9
Loaded plugins: langpacks
Repository repos is listed more than once in the configuration
Repository repos-source is listed more than once in the configuration
No package hplip-3.16.9 available.
Error: Nothing to do

Should HPLIP be in a repo-file, but is not as I understand.
How to get it there?
ostene
 
Old 09-30-2016, 07:59 AM   #5
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
try as lazydog suggested and dont use a version number.
 
Old 09-30-2016, 08:32 AM   #6
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
Here is what I'm seeing:

Code:
~ $ yum search hplip
Loaded plugins: fastestmirror, langpacks, protectbase
Determining fastest mirrors
 * base: bay.uchicago.edu
 * epel: mirror.symnds.com
 * extras: mirror.atlanticmetro.net
 * updates: centos.mirror.nac.net
labs_consol_stable                                                                                                               23/23
0 packages excluded due to repository protections
========================================================= N/S matched: hplip ==========================================================
hplip-common.i686 : Files needed by the HPLIP printer and scanner drivers
hplip-common.x86_64 : Files needed by the HPLIP printer and scanner drivers
hplip-gui.x86_64 : HPLIP graphical tools
hplip-libs.i686 : HPLIP libraries
hplip-libs.x86_64 : HPLIP libraries
hplip.x86_64 : HP Linux Imaging and Printing Project

  Name and summary matches only, use "search all" for everything.
And it would be installed from the updates repo so no special repo's required.

Code:
~ $ repoquery -i hplip

Name        : hplip
Version     : 3.13.7
Release     : 6.el7_2.1
Architecture: x86_64
Size        : 9536582
Packager    : CentOS BuildSystem <http://bugs.centos.org>
Group       : System Environment/Daemons
URL         : http://hplip.sourceforge.net/
Repository  : updates
Summary     : HP Linux Imaging and Printing Project
Source      : hplip-3.13.7-6.el7_2.1.src.rpm
Description :
The Hewlett-Packard Linux Imaging and Printing Project provides
drivers for HP printers and multi-function peripherals.
 
1 members found this post helpful.
Old 10-01-2016, 10:26 AM   #7
ostene
Member
 
Registered: Jul 2006
Location: Lidingo, Sweden
Distribution: Kubuntu
Posts: 54

Original Poster
Rep: Reputation: 1
HP Printer problem

Now the HP Deskjet 5655 printer is working fully
as a local printer on an usb-port.

First I downloaded HPLIP: # yum install hplip
As CUPS was already running on my comp. I could
immediately use CUPS web-based administration from
my web browser box: http://localhost:631/
Clicked then on Administration,then Add Printer
Clicked on Local Printers: hp deskjet 5600
and then on Continue. Filled in Location: My desk
and then Continued to Model:
HP Deskjet 5550-CUPS+Gutenprint v5.9 Simplified (en)
and at last Add Printer.
Next win. Set Default Options for hp_deskjet_5600
General settings.
Clicked on Set Default Options
Next win. (Idle, Accepting Jobs, Not Shared, Server Default)
Done!

Thanks for your help.
ostene
 
Old 10-02-2016, 06:14 PM   #8
Boobaloo
LQ Newbie
 
Registered: Aug 2015
Location: Pisek, North Dakota
Distribution: 17.2 Cinnamon
Posts: 18

Rep: Reputation: Disabled
Quote:
Originally Posted by lazydog View Post
Have you tried to install this with YUM?

Code:
yum install hplip
The mistake you are making is trying to install software without using YUM first.
I get, "You need to be root to perform this command."

I tried "cd /root" and received, "bash: cd: /root: Permission denied".

I'm logged in a superuser.

Now what?
 
Old 10-02-2016, 06:43 PM   #9
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
no u dont need to be in the /root directory u need to run the command as the root user so use
Code:
sudo yum install hplip
enter your admin password and off u go

Last edited by Keith Hedger; 10-02-2016 at 06:44 PM.
 
Old 10-03-2016, 02:06 PM   #10
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
Quote:
Originally Posted by Boobaloo View Post
I get, "You need to be root to perform this command."

I tried "cd /root" and received, "bash: cd: /root: Permission denied".

I'm logged in a superuser.

Now what?
Now run the command.
 
Old 10-03-2016, 05:46 PM   #11
Boobaloo
LQ Newbie
 
Registered: Aug 2015
Location: Pisek, North Dakota
Distribution: 17.2 Cinnamon
Posts: 18

Rep: Reputation: Disabled
I tried "sudo run..." and all others....No joy.

Problem solved.......Installed Win10.
 
Old 10-03-2016, 10:18 PM   #12
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Thanks for the update and solution.

I respect your choice. Gotta go with what you got.
 
Old 10-04-2016, 08:02 AM   #13
Boobaloo
LQ Newbie
 
Registered: Aug 2015
Location: Pisek, North Dakota
Distribution: 17.2 Cinnamon
Posts: 18

Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
Thanks for the update and solution.

I respect your choice. Gotta go with what you got.
Yeah, after 5 years of Mint, the box was getting a bit flaky and there wasn't any nasty-ware, so I figured it was getting "constipated", the same as a Windows box after too many updates.

I figured a clean install was the best thing and since I hear that W-10 is finally pretty good, thought I'd give it a try. I haven't decided on it yet, but it looks like much of the stuff I know about it still exists. I "grew up" on DOS 2.0 and "rolling your own IBM clone" way back when, so am more familiar with the Command Line stuff. Ha! I remember paying $300.00 for a Full Height, refurbished, 5 1/2" 20 Meg (yes, Meg!) drive at a computer show in San Francisco, back in the day!

I'll probably have another LINUX Box soon. A lady at church has a DELL that she replaced and wants me to transfer her desired files to the new box. If I ask, I'm sure it will be mine for cheap or free. Now that my cold/flu is over, I'll be doing that little job in the near future.

Take Care
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HPlip woes on --current ; Sharing printer gets broken if the hplip gui is launched Old_Fogie Slackware 2 10-28-2010 10:23 AM
HPLIP Device manager unable to find printers on current? PJBrs Slackware 13 04-02-2008 02:28 PM
hplip 1.7.3 install keeps giving error message - unable to connect to hpoid? jerrynewt Linux - Laptop and Netbook 1 04-07-2007 11:33 PM
hplip - Exception: 96 (Unable to contact service) deleted/ Linux - Newbie 2 01-17-2006 02:46 PM
unable to install hplip-0.9.6 on my OpenSuse adityavpratap SUSE / openSUSE 5 11-23-2005 11:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration