LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-22-2014, 08:26 AM   #1
tb75252
Member
 
Registered: Oct 2010
Posts: 167

Rep: Reputation: Disabled
Best Way to Install HPLIP (HP Linux Imaging and Printing)


I am using Slackware 14.1 (64-bit) and still very inexperienced.

I need to install the latest HPLIP (v. 3.14.10, available from http://hplipopensource.com/hplip-web/gethplip.html) so that I can properly set up my printer.

I did notice the installation instructions available here http://hplipopensource.com/hplip-web...slackware.html but was wondering if that is the best way to do the install. (Can I use upgradepkg??)

PS: Slackware 14.1 comes with hplip 3.13.10, but my printer is not detected with that version. According to this link http://hplipopensource.com/hplip-web..._pro_8610.html I need at least hplip v. 3.14.4.
 
Old 10-22-2014, 08:41 AM   #2
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
Hello tb75252 , I install hplip using the Slackbuild from source tree.
ftp://ftp.osuosl.org/pub/slackware/s...urce/ap/hplip/
 
1 members found this post helpful.
Old 10-22-2014, 09:13 AM   #3
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
I can spare you the hassle of building it from source. According to Murphy's Law, I often have to deal with very recent HP printers supported by HPLIP, but a more recent version than the one shipping with Slackware. This just happened a couple weeks ago, and I had to upgrade HPLIP to the next minor version bump.

After reading your post, I decided to build the latest HPLIP and put it in my MLED repo.

32-bit:

Code:
Wed Oct 22 15:55:08 CEST 2014
ap/hplip-3.14.10-i486-1_microlinux.txz: Upgraded.
Following a request by user tb75252 on LQ.
+--------------------------+
64-bit:

Code:
Wed Oct 22 15:55:08 CEST 2014
ap/hplip-3.14.10-x86_64-1_microlinux.txz: Upgraded.
Following a request by user tb75252 on LQ.
+--------------------------+
The repos are here:

http://www.microlinux.fr/slackware

Look in the desktop-base-14.1-$ARCH/slackware{64}/ap/ subdirectory corresponding to your architecture. Download the package and then install it:

Code:
# upgradepkg --reinstall --install-new hplip-3.14.10-*.txz
Cheers,

Niki

PS: still uploading, you might want to wait a few minutes.

Last edited by kikinovak; 10-22-2014 at 09:21 AM.
 
1 members found this post helpful.
Old 10-22-2014, 09:42 AM   #4
tb75252
Member
 
Registered: Oct 2010
Posts: 167

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Paulo2 View Post
Hello tb75252 , I install hplip using the Slackbuild from source tree.
ftp://ftp.osuosl.org/pub/slackware/s...urce/ap/hplip/
Not sure I understand, Paulo...
The link you give sends to hplip v. 3.13.10 which is the version that is already installed on my PC. I need to install v. 3.14.10.
 
Old 10-22-2014, 09:59 AM   #5
tb75252
Member
 
Registered: Oct 2010
Posts: 167

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kikinovak View Post
I can spare you the hassle of building it from source. According to Murphy's Law, I often have to deal with very recent HP printers supported by HPLIP, but a more recent version than the one shipping with Slackware. This just happened a couple weeks ago, and I had to upgrade HPLIP to the next minor version bump.

After reading your post, I decided to build the latest HPLIP and put it in my MLED repo.

32-bit:

Code:
Wed Oct 22 15:55:08 CEST 2014
ap/hplip-3.14.10-i486-1_microlinux.txz: Upgraded.
Following a request by user tb75252 on LQ.
+--------------------------+
64-bit:

Code:
Wed Oct 22 15:55:08 CEST 2014
ap/hplip-3.14.10-x86_64-1_microlinux.txz: Upgraded.
Following a request by user tb75252 on LQ.
+--------------------------+
The repos are here:

http://www.microlinux.fr/slackware

Look in the desktop-base-14.1-$ARCH/slackware{64}/ap/ subdirectory corresponding to your architecture. Download the package and then install it:

Code:
# upgradepkg --reinstall --install-new hplip-3.14.10-*.txz
Cheers,

Niki

PS: still uploading, you might want to wait a few minutes.
Wonderful news, Niki! Thank you very much for your efforts in this matter. I will take a look this evening after work and see if I can install it. I need to be root in order to install it, right?

While my background is not in IT/computer science, I installed Slackware so that I could learn a little bit about Linux. To this end, I would be interested in learning how to install software that is not available from official repositories. Would I be too demanding if I asked you to explain the steps you took in building the HPLIP package?
 
Old 10-22-2014, 10:36 AM   #6
lems
Member
 
Registered: May 2004
Distribution: BSD
Posts: 269

Rep: Reputation: 119Reputation: 119
Regarding hplip.SlackBuild from http://www.microlinux.fr/slackware/d...urce/ap/hplip/:

There is a typo on line 54:

`eRse'

should be

`else', no?

Last edited by lems; 10-22-2014 at 10:40 AM.
 
Old 10-22-2014, 10:38 AM   #7
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by tb75252 View Post
Wonderful news, Niki! Thank you very much for your efforts in this matter. I will take a look this evening after work and see if I can install it. I need to be root in order to install it, right?

While my background is not in IT/computer science, I installed Slackware so that I could learn a little bit about Linux. To this end, I would be interested in learning how to install software that is not available from official repositories. Would I be too demanding if I asked you to explain the steps you took in building the HPLIP package?
Yes, you need to be root in order to install it.

There's a wealth of documentation about Slackware here: http://docs.slackware.com/ I suggest you read through everything. Take your time to do this.

If you understand French, I'll soon publish a thick book about Linux basics, which is based 100 % on Slackware. I'm busy writing it every day.

Cheers,

Niki
 
Old 10-22-2014, 10:44 AM   #8
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by lems View Post
Regarding hplip.SlackBuild from http://www.microlinux.fr/slackware/d...urce/ap/hplip/:

There is a typo on line 54:

`eRse'

should be

`else', no?
Exactly. FYI, that's the sort of typo you only get with Vim, when you split, copy, paste & sneeze at the same time.
 
Old 10-22-2014, 11:12 AM   #9
tb75252
Member
 
Registered: Oct 2010
Posts: 167

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kikinovak View Post
Yes, you need to be root in order to install it.

There's a wealth of documentation about Slackware here: http://docs.slackware.com/ I suggest you read through everything. Take your time to do this.

If you understand French, I'll soon publish a thick book about Linux basics, which is based 100 % on Slackware. I'm busy writing it every day.

Cheers,

Niki
Thanks for the help! I will definitely consult the link you gave me. It is great that you are willing to produce a book based on Slackware. There aren't too many out there.

Well, I understand a little bit of colloquial French; technical French might be a different story... I don't mean to tell you what to do but given that English is pretty much the lingua franca of the whole IT/computer science world, would it not be better to write the book in English? There is a whole army of people out there wanting to learn more about Linux and most speak/understand English better rather than French. Just my two-cent opinion... :-)

Are you planning on posting a .pdf version of the book somewhere? What is the book's title going to be? Name of the author? (Niki Novak, maybe?)
 
Old 10-22-2014, 01:10 PM   #10
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by tb75252 View Post
Thanks for the help! I will definitely consult the link you gave me. It is great that you are willing to produce a book based on Slackware. There aren't too many out there.

Well, I understand a little bit of colloquial French; technical French might be a different story... I don't mean to tell you what to do but given that English is pretty much the lingua franca of the whole IT/computer science world, would it not be better to write the book in English? There is a whole army of people out there wanting to learn more about Linux and most speak/understand English better rather than French. Just my two-cent opinion... :-)

Are you planning on posting a .pdf version of the book somewhere? What is the book's title going to be? Name of the author? (Niki Novak, maybe?)
Well, English is only my third language, I live in France, and my editor (Eyrolles) is here. The book title has been subject to numerous changes and will be "Débuter avec Linux", a 500-page introduction to Linux administration based entirely on Slackware. I will publish it under my pen name "Kiki Novak" (my real name is Niki Kovacs). I think my editor is also planning an ebook edition. There have been quite many obstacles recently, like a complete change of staff at my editor's and a suggested change to an Ubuntu base, but now the book is holding a steady course.
 
Old 10-22-2014, 01:15 PM   #11
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by tb75252 View Post
Not sure I understand, Paulo...
The link you give sends to hplip v. 3.13.10 which is the version that is already installed on my PC. I need to install v. 3.14.10.
What he meant is you can take the slackbuild that Pat has provided for Slackware and modify the version in it so it matches the one you need. Then you can just run the slackbuild with the updated source tarball and it will pump out an updated package for you. You can do this with almost all the slackbuilds (some might require dependencies to be updated, so it can be a hassle if it's a major program).

You can see more on editing slackbuilds on the howto page on slackbuilds.org or through various docs using the link that niki provided.
 
Old 10-22-2014, 02:09 PM   #12
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by bassmadrigal View Post
What he meant is you can take the slackbuild that Pat has provided for Slackware and modify the version in it so it matches the one you need. Then you can just run the slackbuild with the updated source tarball and it will pump out an updated package for you. You can do this with almost all the slackbuilds (some might require dependencies to be updated, so it can be a hassle if it's a major program).

You can see more on editing slackbuilds on the howto page on slackbuilds.org or through various docs using the link that niki provided.
Only the first of the two patches is required for HPLIP 3.14.x.
 
Old 10-22-2014, 02:56 PM   #13
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by kikinovak View Post
Only the first of the two patches is required for HPLIP 3.14.x.
True. @OP, there may be some minor tweaking needed if you ever decide to modify a slackbuild for a that it was not originally designed for. If you can find someone like Niki who can do the new build for you, it makes life that much easier
 
Old 10-22-2014, 03:08 PM   #14
tb75252
Member
 
Registered: Oct 2010
Posts: 167

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
True. @OP, there may be some minor tweaking needed if you ever decide to modify a slackbuild for a that it was not originally designed for. If you can find someone like Niki who can do the new build for you, it makes life that much easier
Yes, I will definitely use Niki's build and see what happens. It was very kind of him/her to do that.
I don't understand Niki's remark about using only the first of the two patches, though... What patches?? :-)
 
Old 10-22-2014, 04:26 PM   #15
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
I think there's some misunderstanding. I already built the most recent HPLIP and made a Slackware package out of it. Download it, install it and use it. Nothing more to do. Check out the links in my post above.
 
  


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
[SOLVED] Printing Problem thru IPP - HPLIP daxesh SUSE / openSUSE 2 03-13-2011 06:51 PM
Printer Not Printing with HPLIP rajesh.bahl Linux - Desktop 4 05-17-2009 02:41 AM
HPLip, printer not printing most things... HP Deskjet D4160 BallsOfSteel Linux - Hardware 1 08-14-2008 01:35 PM
Cups & Hplip double sided printing MartyMcFly Linux - Hardware 6 04-07-2007 12:48 PM
hplip does not support printing to windows printers phats_O Linux - Hardware 1 06-01-2005 03:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:48 PM.

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