LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-17-2018, 11:55 AM   #1
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 14.04 lts
Posts: 254

Rep: Reputation: Disabled
How to uninstall hplip and reinstall it - ?


How can I completely wipe out (uninstall) hplip?

Then, I plan to reinstall it using the software center which has "hplip toolbox"
 
Old 03-17-2018, 12:14 PM   #2
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 2,982
Blog Entries: 7

Rep: Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559
Sudo apt-get remove hplip.
 
1 members found this post helpful.
Old 03-17-2018, 07:23 PM   #3
agillator
Member
 
Registered: Aug 2016
Distribution: Mint 19.1
Posts: 251

Rep: Reputation: Disabled
How did you originally install it? If it was through the repos then hazel is right although personally I would use purge, not remove. Otherwise the method you used to install should also provide a method to uninstall

I have found that some, if not many, of the hplip versions in repos are not all that good. In getting tailored for specific distros they seem to end up with things left out. For example it used to be that the scan function on all-in-ones did not work if you used the version in the Ubuntu repos. Whether that is still true I don't know since I stopped using those versions long ago.

I strongly recommend going directly to the HPLIP site and download the latest version. In a terminal window change the modes of the .run file to be executable by the user and then run hplip-<version>.run file as a common user, NOT as root. Then sit back, answer questions and wait. It will do all the installation for you, remove any old versions (at least theoretically) and give you a chance to set up at least one printer. This way you know you are getting an installation that works and is not one someone else has fiddled with. It really is just as easy to do it this way as the use the repos.
 
Old 03-17-2018, 07:27 PM   #4
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 14.04 lts
Posts: 254

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by agillator View Post
How did you originally install it? If it was through the repos then hazel is right although personally I would use purge, not remove. Otherwise the method you used to install should also provide a method to uninstall

I have found that some, if not many, of the hplip versions in repos are not all that good. In getting tailored for specific distros they seem to end up with things left out. For example it used to be that the scan function on all-in-ones did not work if you used the version in the Ubuntu repos. Whether that is still true I don't know since I stopped using those versions long ago.

I strongly recommend going directly to the HPLIP site and download the latest version. In a terminal window change the modes of the .run file to be executable by the user and then run hplip-<version>.run file as a common user, NOT as root. Then sit back, answer questions and wait. It will do all the installation for you, remove any old versions (at least theoretically) and give you a chance to set up at least one printer. This way you know you are getting an installation that works and is not one someone else has fiddled with. It really is just as easy to do it this way as the use the repos.
So you would use Sudo apt-get purge hplip
?

I didn't originally install it, I assume it came installed with the Ubuntu installation.
 
Old 03-17-2018, 10:17 PM   #5
agillator
Member
 
Registered: Aug 2016
Distribution: Mint 19.1
Posts: 251

Rep: Reputation: Disabled
Yes, I would 'sudo apt-get hplip purge'. That just helps make sure you get the extraneous configuration files or ones the distro puts in odd places that HPLIP cannot find. Then, during installation of the downloaded version you will probably be told that it has found an existing version which might conflict and asked if you want to remove it. The obvious answer is yes.
 
Old 03-17-2018, 10:27 PM   #6
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 14.04 lts
Posts: 254

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by agillator View Post
Yes, I would 'sudo apt-get hplip purge'. That just helps make sure you get the extraneous configuration files or ones the distro puts in odd places that HPLIP cannot find. Then, during installation of the downloaded version you will probably be told that it has found an existing version which might conflict and asked if you want to remove it. The obvious answer is yes.
Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Uninstall And Reinstall Mandrake bluesky2_1986 Mandriva 4 07-17-2006 08:12 AM
Pkgtool .......... uninstall --->reinstall justaguynsrq Slackware 13 11-22-2004 04:59 PM
Uninstall/Reinstall Woody vsj Linux - Newbie 8 02-11-2004 06:34 AM
uninstall - reinstall eddcrossman Linux - Newbie 7 02-02-2003 10:24 AM
How to uninstall and reinstall Redhat 7.1? jane207 Linux - Software 1 11-02-2001 03:28 PM

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

All times are GMT -5. The time now is 04:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration