HP Logo
HP Logo
Tux
    Home
    About
  • Features
  • Screenshots
  • FAQs
  • About HPLIP
  • Setup and Installation
  • Download HPLIP
  • Installation Instructions
  • System Requirements
  • Supported Devices
  • Usage and Support
  • Support
  • How-Tos
  • Troubleshooting
  • Release Notes
  • Resources
  • Technical Documentation
  • Sourceforge Project Page
  • Software License
  • Other Support Information
  • Contacts
Home > Installation > Manual Install > Linux Distributions > Suse

Manual Build and Install Instructions for Suse

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/

D. Install the required dependency packages, run:

For SUSE 10.0/10.1

yast --install cups-devel python-devel xsane python-xml kdebindings3-python net-snmp-devel openssl libjpeg-devel gcc-c++ libusb libtool

For SUSE 10.2

yast --install cups-devel python-devel xsane python-xml kdebindings3-python net-snmp-devel openssl libjpeg-devel gcc-c++ libusb libgphoto2-devel libtool python-imaging

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-2.7.12.tar.gz

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

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

Example:

cd hplip-2.7.12

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):

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

./configure --prefix=/usr --disable-xml-install --enable-foomatic-ppd-install --with-hpppddir=/usr/share/cups/model/manufacturer-PPDs/hp

64 bit distro users

./configure --prefix=/usr --libdir=/usr/lib64 ---disable-xml-install --enable-foomatic-ppd-install --with-hpppddir=/usr/share/cups/model/manufacturer-PPDs/hp

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. If your distro uses the /proc/dev/bus files system you'll need to reference step 12 on the link below. You'll need to have a new rules file in place a described here, Portability Reference Step 12

B. 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
  2. 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


Page last updated: Fri Sep 28 16:33:09 2007; HPLIP Version: 2.7.12

Legal Notices Copyright © 2003-2007, Hewlett-Packard Development Company, L.P. Contact Site Maintainer