LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-17-2020, 03:30 PM   #1
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 700

Rep: Reputation: Disabled
[ SOLVED ] Updating HPLIP.


I noticed that the version of HPLIP that installs with Slackware 14.2 is 3.16.5, but then, after checking with the HP website, i noticed that the latest version that they have is 3.20.6. My question is this:

Do I need to delete version 3.16.5 before I install version 3.20.6?

Last edited by TheNutCase; 06-19-2020 at 12:10 AM.
 
Old 06-17-2020, 05:13 PM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,677

Rep: Reputation: Disabled
For starters, if your printer is fully supported by HPLIP 3.16.5 then why go to the hassle of installing the latest version? The second and third parts of HPLIP version number indicate year and month. So 3.16.5 was published in May 2016.

As for your question. Their website doesn't offer a package for Slackware 14.2. The generic package they offer to download from SourceForge supports only Slackware versions 9.0 through 12.1 in auto mode. That means you'll be performing a manual installation. In other words, yes, you'll need to remove the Slackware package first.
 
Old 06-17-2020, 05:48 PM   #3
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 700

Original Poster
Rep: Reputation: Disabled
Thank you.
 
Old 06-17-2020, 06:03 PM   #4
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
If you do want a newer version (which as shruggy mentioned, you don't need unless your printer isn't currently supported), you can grab the source from -current and run the SlackBuild. That should generate you a new package based on the version in -current (but built against 14.2 libraries) that you can then use upgradepkg on. You will need python3 installed (which is available on SBo).
 
2 members found this post helpful.
Old 06-18-2020, 02:43 PM   #5
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 700

Original Poster
Rep: Reputation: Disabled
It seems that I will need a bit more help getting the latest version of hplip to work on my computer. I found the documentation for it at the following link:

https://developers.hp.com/hp-linux-i.../distros/other

Now all I need to know is what the Slackware equivalents of the listed dependencies are.
 
Old 06-18-2020, 03:05 PM   #6
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,677

Rep: Reputation: Disabled
Follow the suggestion by bassmadrigal, hplip-3.20.6 is already in -current.

Last edited by shruggy; 06-18-2020 at 03:13 PM.
 
Old 06-18-2020, 03:32 PM   #7
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 700

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shruggy View Post
For starters, if your printer is fully supported by HPLIP 3.16.5 then why go to the hassle of installing the latest version? The second and third parts of HPLIP version number indicate year and month. So 3.16.5 was published in May 2016.

As for your question. Their website doesn't offer a package for Slackware 14.2. The generic package they offer to download from SourceForge supports only Slackware versions 9.0 through 12.1 in auto mode. That means you'll be performing a manual installation. In other words, yes, you'll need to remove the Slackware package first.
The reason that I need the latest version is because one of the features that my printer (HP Deskjet 1512) has is to tell me what the estimated ink levels are. And i am hoping that version 3.20.6 will do that.
 
Old 06-18-2020, 03:34 PM   #8
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
Yes from a mirror just grab all the files in slackware/slackware64-current/source/ap/hplip (or just slackware-current if you're on 32-bit), run the SlackBuild, and upgrade. So, with the kernel.org mirror for 64-bit and version 3.20.6 in -current:
Code:
rsync --archive rsync://mirrors.kernel.org/slackware/slackware64-current/source/ap/hplip .
cd hplip
su
sh ./hplip.SlackBuild
upgradepkg /tmp/hplip-3.20.6-x86_64-1.txz
As bassmadrigal pointed out, the build will fail without python3, so install that first if necessary. If you don't know about SBo, probably sbopkg is the easiest way to get that done.

Last edited by drgibbon; 06-18-2020 at 03:43 PM.
 
Old 06-18-2020, 03:46 PM   #9
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
Just grab the source folder for hplip from your favorite -current mirror and then just run the SlackBuild. As far as I know, the only dependency you would need would that's not on a stock 14.2 is python3, which can be grabbed from SBo.

EDIT: Too slow on my reply... that's what I get for taking a phone call.
 
Old 06-19-2020, 12:09 AM   #10
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 700

Original Poster
Rep: Reputation: Disabled
Thank you, but I have solved the problem that I was having - a bit messy, perhaps, but I got it resolved nonetheless. What I had to end up doing was to reload Slackware 14.2 (64-bit) to my computer then unplug my printer and plug it back in again, which resolved theproblem that I was having where the printer software wasn't showing my printers ink levels. But thanks anyway.
 
  


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
Installing HPLIP-GUI on HPLIP 3.17.11 Linux Mint 17.3 laptop anon298 Linux - Software 1 02-26-2018 08:22 PM
[SOLVED] Upgrade hplip-3.9.4b to hplip-3.9.12 (32-bit and 64-bit) tronayne Slackware 8 02-27-2011 11:12 PM
HPlip woes on --current ; Sharing printer gets broken if the hplip gui is launched Old_Fogie Slackware 2 10-28-2010 10:23 AM
why is bind updating reverse zone with updating zone 202.1.168.192.1.168.192.in-addr marcobjorge Linux - Networking 5 10-12-2008 04:53 AM
Updating VMWare After Updating CentOS Linux31 Red Hat 2 09-18-2007 02:49 PM

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

All times are GMT -5. The time now is 06:19 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