Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

HP Linux imaging and printing

Print, scan and fax drivers for Linux
» 

Home

» About HPLIP
» Screenshots
» Release information
» Licensing information
» Get help

Install and setup

» Download instructions
» Installation instructions
» Installation wizard
» Supported printers
» System requirements
Visit the Consumer Support Forums
Download drivers & software
Content starts here

Manual Build and Install Instructions for openSUSE

Step 1: Installation Prerequisite Steps

View the current Release Notes for additional information on this release.

Note

You will need root access to complete many of the steps while installing HPLIP. If you do not have root access contact your system admin for assistance.


Step 2: Install Dependency Packages

A. Open a terminal shell.

B.. Login as root.

su

C. Configure repositories for Yast.

Note

Be sure to follow the steps for your SuSE version below.

For Suse 10.0

installation_sources -a http://suse.mirrors.tds.net/pub/opensuse/distribution/SL-10.0-OSS/inst-source/
installation_sources -a http://mirrors.kernel.org/suse/i386/10.0/SUSE-Linux10.0-GM-Extra/

For Suse 10.1

Install the following installation sources through the YaST gui tool.

http://suse.mirrors.tds.net/pub/opensuse/distribution/SL-10.1/inst-source/
http://mirrors.kernel.org/suse/i386/10.1/SUSE-Linux10.1-GM-Extra

For SUSE 10.2

installation_sources -a http://download.opensuse.org/distribution/10.2/repo/oss/
installation_sources -a http://download.opensuse.org/distribution/10.2/repo/non-oss/
installation_sources -a http://download.opensuse.org/distribution/10.2/repo/debug/

For SUSE 10.3

installation_sources -a http://download.opensuse.org/distribution/10.3/repo/oss/
installation_sources -a http://download.opensuse.org/distribution/10.3/repo/non-oss/
installation_sources -a http://download.opensuse.org/distribution/10.3/repo/debug/

D. Install the required dependency packages, run:

SUSE 10.0 / 10.1

su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses cups cups-client cups-devel gcc-c++ ghostscript-library openssl libjpeg-devel net-snmp-devel glibc libtool libusb libusb-devel make python-imaging python-devel python-xml python sane sane-devel xsane"

SUSE 10.2 / 10.3

su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses cups cups-client cupsddk cups-devel dbus-1-devel python-gobject2 gcc-c++ ghostscript-library openssl libjpeg-devel net-snmp-devel glibc libtool libgphoto2-devel libexif-devel libusb libusb-devel make python-imaging python-qt4 dbus-1-python python-devel python-xml python sane sane-devel xsane"

E. Logout of root.

exit

Step 3: Download HPLIP

Note

We recommend that you download the HPLIP tarball to your home or desktop directory.

A. Click here to Download the Regular Tarball

B. Go to the directory where you downloaded the HPLIP tarball.

Example:

cd ~/Desktop

C. Uncompress the tarball.

Enter this command:

tar xvfz hplip-3.10.6.tar.gz

This will create a directory with the same name as the tarball file.

D. Change your working directory to the hplip-3.10.6 directory.

Example:

cd hplip-3.10.6

Step 4: Configure HPLIP for installation

A. This step configures the development environment and checks that your system is ready to install HPLIP.

For specific information on using ./configure and the different options please go here. Also reference your distro documentation and configuration for additional information on which tags are relevant.

Enter this command (select the appropriate command depending on your system configuration):

Note

Suse 10.2 and later use one of the commands:

32 bit distro users (most users will use this command):

./configure --with-hpppddir=/usr/share/cups/model/HP --prefix=/usr --enable-qt4 --enable-doc-build --enable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-policykit --disable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build

64 bit distro users:

./configure --with-hpppddir=/usr/share/cups/model/HP --libdir=/usr/lib64 --prefix=/usr --enable-qt4 --enable-doc-build --enable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-policykit --disable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build

Note

Suse 10.3 and newer use one of the commands:

32 bit distro users (most users will use this command):

./configure --with-hpppddir=/usr/share/cups/model/HP --prefix=/usr --enable-qt4 --enable-doc-build --enable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-policykit --disable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build

64 bit distro users:

./configure --with-hpppddir=/usr/share/cups/model/HP --libdir=/usr/lib64 --prefix=/usr --with-cupsbackenddir=/usr/lib64/cups/backend --with-cupsfilterdir=/usr/lib64/cups/filter --enable-qt4 --enable-doc-build --enable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-policykit --disable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build

Step 5: Run Make

A. This step will compile the HPLIP source.

Important

You want to run make as a regular user, NOT as root.

Enter this command:

make

Step 6: Run Make Install

A. This step will install HPLIP.

Enter this command:

su -c "make install"

Step 7: Post Installation Step(s)

A. NOTE - Older distro's, IE SUSE 10.0 or /proc/dev/bus Users the following steps need to be completed. 10.1 and newer skip to section B.

Important

Editing the 55-hpmud.rules file step does NOT apply to SLED (Suse Linux Enterprise Desktop 10)

  1. Edit the 55-hpmud.rules file
su -c "gedit /etc/udev/rules.d/55-hpmud.rules"
  1. Replace the middle section with the follow: (it appears similiar)
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??11", PROGRAM="/bin/sh -c 'X=%k; X=$${X#usbdev}; B=$${X%%%%.*}; D=$${X#*.}; printf /proc/bus/usb/%%03i/%%03i $$B $$D'", RUN+="/bin/sh -c 'chown lp: %c; chmod 666 %c'"
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??02", PROGRAM="/bin/sh -c 'X=%k; X=$${X#usbdev}; B=$${X%%%%.*}; D=$${X#*.}; printf /proc/bus/usb/%%03i/%%03i $$B $$D'", RUN+="/bin/sh -c 'chown lp: %c; chmod 666 %c'"
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??12", PROGRAM="/bin/sh -c 'X=%k; X=$${X#usbdev}; B=$${X%%%%.*}; D=$${X#*.}; printf /proc/bus/usb/%%03i/%%03i $$B $$D'", RUN+="/bin/sh -c 'chown lp: %c; chmod 666 %c'"
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??04", PROGRAM="/bin/sh -c 'X=%k; X=$${X#usbdev}; B=$${X%%%%.*}; D=$${X#*.}; printf /proc/bus/usb/%%03i/%%03i $$B $$D'", RUN+="/bin/sh -c 'chown lp: %c; chmod 666 %c'"
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??17", PROGRAM="/bin/sh -c 'X=%k; X=$${X#usbdev}; B=$${X%%%%.*}; D=$${X#*.}; printf /proc/bus/usb/%%03i/%%03i $$B $$D'", RUN+="/bin/sh -c 'chown lp: %c; chmod 666 %c'"
  1. Save the file, exit gedit.

B. NOTE Suse 10.3 users add the user to the LP group. All other versions can skip to section C.

  1. Check if your user is part of the lp group.
groups

You should see an output something like; users, lp

  1. If you don't see lp add the user to the lp group.
usermod -G lp <username>
  1. Logout and Logback in to your system.

C. If you are going to be setting up a printer with USB and the printer is already plugged in, you will need to do one of the following:

  1. Unlpug and re-plug in the USB printer, or Restart your PC.

Failure to do this will cause your USB printer to not be detected by HPLIP.

Step 8: Configuring your printer using hp-setup

Continue to hp-setup

Browse Knowledge Base

» Search knowledge base
» Supported features
» How-to's
» Troubleshooting
» FAQ's
» Technical docs

 

» Login(Required to post)
   
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2010 Hewlett-Packard Development Company, L.P.