Configure the HPLIP Install
Configure HPLIP (most users do this)
Note: If you want to customize your install please refer to the './configure options' section below.
Note: Run this in the extracted HPLIP tarball directory.
32 bit distro users (most users will use this command):
./configure --prefix=/usr
64 bit distro users
You will need to run this configure option:
./configure --prefix=/usr --libdir=/usr/lib64
Configure HPIJS Only (Server/Minimal Install)
Go here for steps on installing a server or minimal install of HPLIP.
Configure options
The configure step of HPLIP does several things,
- Checks your system to ensure that all dependencies are installed and that HPLIP can be compiled.
- Configures the HPLIP for which options will be enabled and/or disabled.
configure variables:
Note: We recommended to install in the /usr directory.
- --prefix=/usr (This is where HPLIP will be installed.)
Note: If you are using a 64 bit distro you need to use this additional configure variable:
- --libdir=/usr/lib64 (Configures HPLIP to work on 64 bit systems.)
Default enabled options if you run "./configure --prefix=/usr":
- --enable-network-build (enable network build (default=yes))
- --enable-pp-build (enable parallel port build (default=yes))
- --enable-scan-build (enable scanner build (default=yes))
- --enable-gui-build (enable gui build (default=yes))
- --enable-fax-build (enable fax build (default=yes))
Options to disable HPLIP features:
- --disable-network-build (disables HPLIP network support)
- --disable-pp-build (disables HPLIP parallel port support)
- --disable-scan-build (disables HPLIP scan support)
- --disable-gui-build (disables HPLIP GUI support)
- --disable-fax-build (disables HPLIP fax support)
How to use the configure options:
If you wanted to disable network support, (for example)--you would run: (see the section './configure options' below for more specific information--however you probably do not need to do this.)
./configure --prefix=/usr --disable-network-build
Troubleshooting errors produced after running './configure --prefix=/usr'
If you receive any errors after running ./configure, such as missing libsnmp, missing gcc-c++, etc these are not complicated to troubleshooting.
- Make sure you have all of the HPLIP dependencies installed. (This is the most common problem.)
- Search the internet for the error. Usually someone may have already encoutered and resolved your problem.
- Search the mailing list archives.
- Ask your question to the mailing list.