SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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).
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:
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.