Linux - NewbieThis 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
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 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.
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.
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.
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.