Manual Build and Install Instructions for Gentoo

Step 1: Installation Prerequisite Steps

Note

Gentoo has not been tested, however assuming that your system meets the minimum system requirements HPLIP should function correctly.

Gentoo users may want to review the Gentoo HPLIP Wiki for help on installing HPLIP.

Review the HPLIP system requirements for more information.

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


Step 2: Install Dependency Packages

Use the Other Linux Distros page for a list of required depencency packages.

Use your distro documentation for installing the packages.


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.12.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.12.6 directory.

Example:

cd hplip-3.12.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):

32 bit distro users:

./configure --with-hpppddir=/usr/share/ppd/HP --prefix=/usr --enable-qt4 --disable-libusb01_build --enable-doc-build --enable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-udev_sysfs_rules --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/ppd/HP --libdir=/usr/lib64 --prefix=/usr --enable-qt4 --disable-libusb01_build --enable-doc-build --enable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-udev_sysfs_rules --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. 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