Manual Build and Install Instructions for CentOS
Important
This process has been tested on Cent OS 4.4 with HPLIP 1.7.4
Important
This process has not been tested on HPLIP 2.7.X
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. Install the development environment.
Click:
Applications System Settings Add/Remove Applications
Click the check mark next to "Development Tools" then click "Update".
Complete the "Package Manager" instructions to install the development tools.
Exit the "Package Manager".
B. Install the HPLIP dependencies.
Use this process to install the dependencies: (list of dependencies below)
Insert the CD requested Double click on "Computer" Double click on the cd-rom icon Double click "RedHat" Double Click "RPMS" Find the file (list below) Right click on the file and then click "Open with "Install Packages" The package should then be installed.
List of dependencies to install
Note
The dependencies might be on different disk's depending on your rhel version.
CentOS CD 2
xsane
CentOS CD 3
cups-devel libjpeg-devel pyqt pyqt-devel
CentOS CD 4
net-snmp-devel
Dependencies should now be installed.
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.7.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.7 directory.
Example:
cd hplip-2.7.7
Step 4: Configure HPLIP for installation
A. This step configures the development environment and checks that your system is ready to install HPLIP.
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/ppd/hpijs/HP
64 bit distro users
./configure --prefix=/usr --libdir=/usr/lib64 --disable-xml-install --enable-foomatic-ppd-install --with-hpppddir=/usr/share/ppd/hpijs/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 7: Post Installation Steps
A. Check USB Port Permissions.
Run the following script to verify that your USB ports are configured with the correct permissions.
Enter this command:
su -c "./installer/permissions.py"
Note
Alternatively you can manually check your USB port permissions by following the instructions for the Manual Permissions Process link below.
B. Trigger your USB devices.
Run the following script to trigger your USB devices.
Enter this command:
su -c "./installer/trigger.py"
Note
Alternatively you can manually trigger your USB devices by unplugging and reconnecting your USB printer's from your computer.
C. Verify your user is part of the lp group
a. Open a terminal shell.
Enter this command:
groups
You should get a result similar to:
aaron adm dialout cdrom floppy audio dip video plugdev scanner netdev lpadmin powerdev admin
b. If you do not see the "lp" group in the list.
Enter this command:
su -c "usermod -a -G lp aaron"
Replace "aaron" with your username.
Important
Logout and back onto your system to apply the changes.
Step 8: Configuring your printer using hp-setup
A. Run hp-check to verify that your system is configured correctly.
Enter this command:
hp-check
If any failures try and resolve them depending on the error. Contact the mailing list for support as needed.