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-12-2021, 01:43 PM   #1
yuwi
LQ Newbie
 
Registered: Sep 2021
Posts: 2

Rep: Reputation: Disabled
I need help with hplip-3.21.8


I installed hplip-3.21.8 on my Ubuntu 20.04.

I used the "hplip-3.21.8.run" file that I downloaded from HP website and I stored that file in my Download folder. I executed that file using the terminal straight from the Download folder.

The problem now is that the result (the hplip folder, with hundreds of files in it) is in my Download folder. Is it safe to move that folder somewhere else? If not, how do I uninstall & reinstall hplip-3.21.8 because I don't want the extracted files to be in my Download folder.
 
Old 09-12-2021, 02:24 PM   #2
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
You don't need to uninstall and reinstall.
All you need is to decide where you want those files/directories to be then move them.

I personally tend to keep a lot in my downloads folder, but by creating sub-directories by category it remains manageable.
 
Old 09-12-2021, 02:31 PM   #3
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by yuwi View Post
I installed hplip-3.21.8 on my Ubuntu 20.04.

I used the "hplip-3.21.8.run" file that I downloaded from HP website and I stored that file in my Download folder. I executed that file using the terminal straight from the Download folder.

The problem now is that the result (the hplip folder, with hundreds of files in it) is in my Download folder. Is it safe to move that folder somewhere else? If not, how do I uninstall & reinstall hplip-3.21.8 because I don't want the extracted files to be in my Download folder.
you could use the standard ubuntu package? https://wiki.ubuntuusers.de/HPLIP/
(in german.. ;-)
English should be anywhere.
 
1 members found this post helpful.
Old 09-12-2021, 07:45 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
I second the suggestion to install HPLIP from the Ubuntu repos amd to install it using the Software Boutique (or whatever they are calling it this week). The installation process will ensuer that files are placed in their correct locations.

Note that the HPLIP install often involves two packages, one for HPLIP itself and one for the GUI interface (hp-toolbox on the command line).
.
It might not be the very latest version, but that should make no difference in functionality.
 
1 members found this post helpful.
Old 09-12-2021, 08:07 PM   #5
yuwi
LQ Newbie
 
Registered: Sep 2021
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you for your answer. But that does not really answer the question I'm having. How do I uninstall it?
 
Old 09-12-2021, 10:34 PM   #6
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by yuwi View Post
Thank you for your answer. But that does not really answer the question I'm having. How do I uninstall it?
Within the hplip directory that was extracted from the .run file you should be able to run "sudo make uninstall" and it would remove the binaries it installed.

As a secondary action before you install it from the main repo you should remove any printer config you have for that printer.

Then "sudo apt install hplip hplip-gui " should install the packages needed.
 
Old 09-13-2021, 05:14 AM   #7
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
My guess (please a specialist can perhaps confirm): Just deleting/removing the directory (with all files in it) from the Download folder (I dont see what could break; especially if no sudo command was used to make the .run working).
Perhaps few "rest" files of type .xxx would be in the home directory and could be deleted.
This is what I would do straight (on my computer):
- delete the files from the Downloads area (remove the dir with all files in it)
- then install the ubuntu package
 
Old 09-13-2021, 03:30 PM   #8
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by floppy_stuttgart View Post
My guess (please a specialist can perhaps confirm): Just deleting/removing the directory (with all files in it) from the Download folder (I dont see what could break; especially if no sudo command was used to make the .run working).
Perhaps few "rest" files of type .xxx would be in the home directory and could be deleted.
This is what I would do straight (on my computer):
- delete the files from the Downloads area (remove the dir with all files in it)
- then install the ubuntu package
You are forgetting to uninstall the binaries which the .run file installed that may conflict with the binaries installed by the ubuntu package.

Yes, sudo was used by the .run file (password asked for during install) to install the binaries.
 
Old 09-14-2021, 11:45 AM   #9
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
https://fossies.org/linux/hplip/doc/uninstalling.html
Do this? (result of googling "uninstall hplip-3.21.8.run")
 
Old 09-14-2021, 12:00 PM   #10
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by floppy_stuttgart View Post
https://fossies.org/linux/hplip/doc/uninstalling.html
Do this? (result of googling "uninstall hplip-3.21.8.run")
That is exactly what I said in post 6. Except that link does not address the binaries in /usr/bin, only the files under /usr/share.

Using "make uninstall" removes both.
 
  


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. Is it there? Need help deciphering terminal. Brigadier Linux - Newbie 1 03-18-2021 05:44 AM
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
hplip / HP Deskjet D4160 install help soylentgreen Slackware 7 05-27-2007 06:31 PM

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

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