Hp printer

 Step-by-Step Solution


1. Remove Old HPLIP Cleanly


Open a terminal and run:


sudo apt-get purge hplip hplip-data hplip-gui

sudo apt-get autoremove --purge

sudo rm -rf /usr/share/hplip



---


2. Download the Latest HPLIP


Get the latest version from HP's official website:


https://developers.hp.com/hp-linux-imaging-and-printing/gethplip


Or use terminal (example for HPLIP 3.24.4, adjust version if newer):


cd ~/Downloads

wget https://downloads.sourceforge.net/project/hplip/hplip/3.24.4/hplip-3.24.4.run



---


3. Give Execute Permission and Run Installer


chmod +x hplip-3.24.4.run

./hplip-3.24.4.run


> Tip: If /home has noexec, move the installer:




sudo mv ~/Downloads/hplip-3.24.4.run /opt/

cd /opt/

sudo chmod +x hplip-3.24.4.run

sudo ./hplip-3.24.4.run



---


4. During Installation


Say yes to install missing dependencies.


Choose automatic installation when prompted.


If asked for sudo password, enter it.




---


5. After Installation


Run the HP Device Manager:


hp-setup


Follow on-screen steps to detect and install your HP printer.



---


Optional: Prevent noexec Issues




sudo reboot



---


Common HPLIP Install Locations


Binaries: /usr/bin/, /usr/sbin/


Core files: /usr/share/hplip/


Logs/config: /var/log/hp/, ~/.hplip/




---


Let me know your printer model and I’ll help confirm compatibility or provide specific install flags if needed.


Comments

Popular posts from this blog

Kyocera printer

linux support cmd ( Chandrakant)

For user permission scanner