How to install latest HPLIP on my Ubuntu to support my HP printer and/or scanner?












17














Let's assume that one has some modern HP printer and/or scanner which is not supported by HPLIP package from official repository.



Currently Ubuntu versions have the following versions in universe pocket:




trusty (14.04LTS) (utils): 3.14.3-0ubuntu3.4
xenial (16.04LTS) (utils): 3.16.3+repack0-1
artful (17.10) (utils): 3.17.7+repack0-3
bionic (18.04LTS) (utils): 3.17.10+repack0-5



What can one do if printer is supported in newer version of HPLIP (checked this in HP Developer Portal | All Supported Printer Models)?










share|improve this question



























    17














    Let's assume that one has some modern HP printer and/or scanner which is not supported by HPLIP package from official repository.



    Currently Ubuntu versions have the following versions in universe pocket:




    trusty (14.04LTS) (utils): 3.14.3-0ubuntu3.4
    xenial (16.04LTS) (utils): 3.16.3+repack0-1
    artful (17.10) (utils): 3.17.7+repack0-3
    bionic (18.04LTS) (utils): 3.17.10+repack0-5



    What can one do if printer is supported in newer version of HPLIP (checked this in HP Developer Portal | All Supported Printer Models)?










    share|improve this question

























      17












      17








      17


      9





      Let's assume that one has some modern HP printer and/or scanner which is not supported by HPLIP package from official repository.



      Currently Ubuntu versions have the following versions in universe pocket:




      trusty (14.04LTS) (utils): 3.14.3-0ubuntu3.4
      xenial (16.04LTS) (utils): 3.16.3+repack0-1
      artful (17.10) (utils): 3.17.7+repack0-3
      bionic (18.04LTS) (utils): 3.17.10+repack0-5



      What can one do if printer is supported in newer version of HPLIP (checked this in HP Developer Portal | All Supported Printer Models)?










      share|improve this question













      Let's assume that one has some modern HP printer and/or scanner which is not supported by HPLIP package from official repository.



      Currently Ubuntu versions have the following versions in universe pocket:




      trusty (14.04LTS) (utils): 3.14.3-0ubuntu3.4
      xenial (16.04LTS) (utils): 3.16.3+repack0-1
      artful (17.10) (utils): 3.17.7+repack0-3
      bionic (18.04LTS) (utils): 3.17.10+repack0-5



      What can one do if printer is supported in newer version of HPLIP (checked this in HP Developer Portal | All Supported Printer Models)?







      package-management printing hp






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 14 '18 at 13:46









      N0rbert

      21.5k547101




      21.5k547101






















          1 Answer
          1






          active

          oldest

          votes


















          25














          Installation



          Currently there are no PPAs with newer hplip packages.



          But user can download and install binary from HP as described in their manual.



          Before you proceed you should remove any hplip related packages to avoid possible future conflicts.



          HP have note about this problem on support page:




          Warning: If you are upgrading HPLIP and HPLIP is already preinstalled with your distribution, or you if you installed HPLIP using an RPM, DEB, or other package, please uninstall the previous version using the method specific for your distribution. If you do not do this, you may have package conflict issues or functionality problems.




          I have experimentally determined the list of packages (tested on 16.04 LTS and 18.04 LTS) and below are commands:



          sudo apt-get purge hplip hplip-data hplip-doc hplip-gui hpijs-ppds 
          libsane-hpaio printer-driver-hpcups printer-driver-hpijs
          sudo rm -rf /usr/share/hplip/

          sudo apt-get autoremove


          Then you should perform the following steps:





          1. Step 1: Download the Automatic Installer (.run file) from official link for the Ubuntu




            Download HPLIP for Ubuntu




            or as for today using wget



            wget https://kent.dl.sourceforge.net/project/hplip/hplip/3.18.12/hplip-3.18.12.run



          2. Step 2: Run the Automatic Installer



            sh hplip-3.18.12.run


            Then follow instructions on screen (it should ask password of your sudo-capable user to run apt, and remove hplip-gui files if they were installed). The installation process is already well-documented on HPLIP site.



            After installation it will show printer installation wizard and you can add printer to the system.






          Uninstallation



          Here we start with binary HPLIP installation (so we do not have HPLIP-related deb-packages installed).



          Let's consider that we have installation file hplip-3.18.12.run in the current directory. We need to extract archive from it and then run uninstallation script.



          sh hplip-3.18.12.run --noexec
          cd hplip-3.18.12
          sudo ./uninstall.py
          sudo rm -rf /usr/share/hplip/


          Afterwards we install official Ubuntu packages instead (optionally):



          sudo apt-get install hplip-gui




          Note: I have reported bug 1782137 to HPLIP's LaunchPad account asking developers to include uninstallation feature of deb-packages HPLIP components from Ubuntu.






          share|improve this answer



















          • 2




            This helped me get rid of a dependency issue with python. THank you.
            – Mookey
            Nov 22 '18 at 22:16










          • @doctorate could you please remove your comment from here and ask new separate question with complete error output and steps you did?
            – N0rbert
            Dec 15 '18 at 13:16










          protected by N0rbert Sep 10 '18 at 12:16



          Thank you for your interest in this question.
          Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



          Would you like to answer one of these unanswered questions instead?














          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          25














          Installation



          Currently there are no PPAs with newer hplip packages.



          But user can download and install binary from HP as described in their manual.



          Before you proceed you should remove any hplip related packages to avoid possible future conflicts.



          HP have note about this problem on support page:




          Warning: If you are upgrading HPLIP and HPLIP is already preinstalled with your distribution, or you if you installed HPLIP using an RPM, DEB, or other package, please uninstall the previous version using the method specific for your distribution. If you do not do this, you may have package conflict issues or functionality problems.




          I have experimentally determined the list of packages (tested on 16.04 LTS and 18.04 LTS) and below are commands:



          sudo apt-get purge hplip hplip-data hplip-doc hplip-gui hpijs-ppds 
          libsane-hpaio printer-driver-hpcups printer-driver-hpijs
          sudo rm -rf /usr/share/hplip/

          sudo apt-get autoremove


          Then you should perform the following steps:





          1. Step 1: Download the Automatic Installer (.run file) from official link for the Ubuntu




            Download HPLIP for Ubuntu




            or as for today using wget



            wget https://kent.dl.sourceforge.net/project/hplip/hplip/3.18.12/hplip-3.18.12.run



          2. Step 2: Run the Automatic Installer



            sh hplip-3.18.12.run


            Then follow instructions on screen (it should ask password of your sudo-capable user to run apt, and remove hplip-gui files if they were installed). The installation process is already well-documented on HPLIP site.



            After installation it will show printer installation wizard and you can add printer to the system.






          Uninstallation



          Here we start with binary HPLIP installation (so we do not have HPLIP-related deb-packages installed).



          Let's consider that we have installation file hplip-3.18.12.run in the current directory. We need to extract archive from it and then run uninstallation script.



          sh hplip-3.18.12.run --noexec
          cd hplip-3.18.12
          sudo ./uninstall.py
          sudo rm -rf /usr/share/hplip/


          Afterwards we install official Ubuntu packages instead (optionally):



          sudo apt-get install hplip-gui




          Note: I have reported bug 1782137 to HPLIP's LaunchPad account asking developers to include uninstallation feature of deb-packages HPLIP components from Ubuntu.






          share|improve this answer



















          • 2




            This helped me get rid of a dependency issue with python. THank you.
            – Mookey
            Nov 22 '18 at 22:16










          • @doctorate could you please remove your comment from here and ask new separate question with complete error output and steps you did?
            – N0rbert
            Dec 15 '18 at 13:16
















          25














          Installation



          Currently there are no PPAs with newer hplip packages.



          But user can download and install binary from HP as described in their manual.



          Before you proceed you should remove any hplip related packages to avoid possible future conflicts.



          HP have note about this problem on support page:




          Warning: If you are upgrading HPLIP and HPLIP is already preinstalled with your distribution, or you if you installed HPLIP using an RPM, DEB, or other package, please uninstall the previous version using the method specific for your distribution. If you do not do this, you may have package conflict issues or functionality problems.




          I have experimentally determined the list of packages (tested on 16.04 LTS and 18.04 LTS) and below are commands:



          sudo apt-get purge hplip hplip-data hplip-doc hplip-gui hpijs-ppds 
          libsane-hpaio printer-driver-hpcups printer-driver-hpijs
          sudo rm -rf /usr/share/hplip/

          sudo apt-get autoremove


          Then you should perform the following steps:





          1. Step 1: Download the Automatic Installer (.run file) from official link for the Ubuntu




            Download HPLIP for Ubuntu




            or as for today using wget



            wget https://kent.dl.sourceforge.net/project/hplip/hplip/3.18.12/hplip-3.18.12.run



          2. Step 2: Run the Automatic Installer



            sh hplip-3.18.12.run


            Then follow instructions on screen (it should ask password of your sudo-capable user to run apt, and remove hplip-gui files if they were installed). The installation process is already well-documented on HPLIP site.



            After installation it will show printer installation wizard and you can add printer to the system.






          Uninstallation



          Here we start with binary HPLIP installation (so we do not have HPLIP-related deb-packages installed).



          Let's consider that we have installation file hplip-3.18.12.run in the current directory. We need to extract archive from it and then run uninstallation script.



          sh hplip-3.18.12.run --noexec
          cd hplip-3.18.12
          sudo ./uninstall.py
          sudo rm -rf /usr/share/hplip/


          Afterwards we install official Ubuntu packages instead (optionally):



          sudo apt-get install hplip-gui




          Note: I have reported bug 1782137 to HPLIP's LaunchPad account asking developers to include uninstallation feature of deb-packages HPLIP components from Ubuntu.






          share|improve this answer



















          • 2




            This helped me get rid of a dependency issue with python. THank you.
            – Mookey
            Nov 22 '18 at 22:16










          • @doctorate could you please remove your comment from here and ask new separate question with complete error output and steps you did?
            – N0rbert
            Dec 15 '18 at 13:16














          25












          25








          25






          Installation



          Currently there are no PPAs with newer hplip packages.



          But user can download and install binary from HP as described in their manual.



          Before you proceed you should remove any hplip related packages to avoid possible future conflicts.



          HP have note about this problem on support page:




          Warning: If you are upgrading HPLIP and HPLIP is already preinstalled with your distribution, or you if you installed HPLIP using an RPM, DEB, or other package, please uninstall the previous version using the method specific for your distribution. If you do not do this, you may have package conflict issues or functionality problems.




          I have experimentally determined the list of packages (tested on 16.04 LTS and 18.04 LTS) and below are commands:



          sudo apt-get purge hplip hplip-data hplip-doc hplip-gui hpijs-ppds 
          libsane-hpaio printer-driver-hpcups printer-driver-hpijs
          sudo rm -rf /usr/share/hplip/

          sudo apt-get autoremove


          Then you should perform the following steps:





          1. Step 1: Download the Automatic Installer (.run file) from official link for the Ubuntu




            Download HPLIP for Ubuntu




            or as for today using wget



            wget https://kent.dl.sourceforge.net/project/hplip/hplip/3.18.12/hplip-3.18.12.run



          2. Step 2: Run the Automatic Installer



            sh hplip-3.18.12.run


            Then follow instructions on screen (it should ask password of your sudo-capable user to run apt, and remove hplip-gui files if they were installed). The installation process is already well-documented on HPLIP site.



            After installation it will show printer installation wizard and you can add printer to the system.






          Uninstallation



          Here we start with binary HPLIP installation (so we do not have HPLIP-related deb-packages installed).



          Let's consider that we have installation file hplip-3.18.12.run in the current directory. We need to extract archive from it and then run uninstallation script.



          sh hplip-3.18.12.run --noexec
          cd hplip-3.18.12
          sudo ./uninstall.py
          sudo rm -rf /usr/share/hplip/


          Afterwards we install official Ubuntu packages instead (optionally):



          sudo apt-get install hplip-gui




          Note: I have reported bug 1782137 to HPLIP's LaunchPad account asking developers to include uninstallation feature of deb-packages HPLIP components from Ubuntu.






          share|improve this answer














          Installation



          Currently there are no PPAs with newer hplip packages.



          But user can download and install binary from HP as described in their manual.



          Before you proceed you should remove any hplip related packages to avoid possible future conflicts.



          HP have note about this problem on support page:




          Warning: If you are upgrading HPLIP and HPLIP is already preinstalled with your distribution, or you if you installed HPLIP using an RPM, DEB, or other package, please uninstall the previous version using the method specific for your distribution. If you do not do this, you may have package conflict issues or functionality problems.




          I have experimentally determined the list of packages (tested on 16.04 LTS and 18.04 LTS) and below are commands:



          sudo apt-get purge hplip hplip-data hplip-doc hplip-gui hpijs-ppds 
          libsane-hpaio printer-driver-hpcups printer-driver-hpijs
          sudo rm -rf /usr/share/hplip/

          sudo apt-get autoremove


          Then you should perform the following steps:





          1. Step 1: Download the Automatic Installer (.run file) from official link for the Ubuntu




            Download HPLIP for Ubuntu




            or as for today using wget



            wget https://kent.dl.sourceforge.net/project/hplip/hplip/3.18.12/hplip-3.18.12.run



          2. Step 2: Run the Automatic Installer



            sh hplip-3.18.12.run


            Then follow instructions on screen (it should ask password of your sudo-capable user to run apt, and remove hplip-gui files if they were installed). The installation process is already well-documented on HPLIP site.



            After installation it will show printer installation wizard and you can add printer to the system.






          Uninstallation



          Here we start with binary HPLIP installation (so we do not have HPLIP-related deb-packages installed).



          Let's consider that we have installation file hplip-3.18.12.run in the current directory. We need to extract archive from it and then run uninstallation script.



          sh hplip-3.18.12.run --noexec
          cd hplip-3.18.12
          sudo ./uninstall.py
          sudo rm -rf /usr/share/hplip/


          Afterwards we install official Ubuntu packages instead (optionally):



          sudo apt-get install hplip-gui




          Note: I have reported bug 1782137 to HPLIP's LaunchPad account asking developers to include uninstallation feature of deb-packages HPLIP components from Ubuntu.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Dec 4 '18 at 19:50

























          answered Jul 14 '18 at 13:46









          N0rbert

          21.5k547101




          21.5k547101








          • 2




            This helped me get rid of a dependency issue with python. THank you.
            – Mookey
            Nov 22 '18 at 22:16










          • @doctorate could you please remove your comment from here and ask new separate question with complete error output and steps you did?
            – N0rbert
            Dec 15 '18 at 13:16














          • 2




            This helped me get rid of a dependency issue with python. THank you.
            – Mookey
            Nov 22 '18 at 22:16










          • @doctorate could you please remove your comment from here and ask new separate question with complete error output and steps you did?
            – N0rbert
            Dec 15 '18 at 13:16








          2




          2




          This helped me get rid of a dependency issue with python. THank you.
          – Mookey
          Nov 22 '18 at 22:16




          This helped me get rid of a dependency issue with python. THank you.
          – Mookey
          Nov 22 '18 at 22:16












          @doctorate could you please remove your comment from here and ask new separate question with complete error output and steps you did?
          – N0rbert
          Dec 15 '18 at 13:16




          @doctorate could you please remove your comment from here and ask new separate question with complete error output and steps you did?
          – N0rbert
          Dec 15 '18 at 13:16





          protected by N0rbert Sep 10 '18 at 12:16



          Thank you for your interest in this question.
          Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



          Would you like to answer one of these unanswered questions instead?



          Popular posts from this blog

          How to send String Array data to Server using php in android

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

          Is anime1.com a legal site for watching anime?