CentOS6.4安装惠普(HP)打印机

CentOS6.4安装惠普(HP)打印机


2024年5月4日发(作者:相机种类与功能介绍)

CentOS 6.4 安装HP(以DeskJet 5650为例)打印机

Manual Build and Install Instructions for CentOS

Important

This process has been tested on Cent OS 5 and Cent OS 6

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.

B. Install the HPLIP dependencies.

su -c "yum -y -d 10 -e 1 install cups cups-develgcc-c++ ghostscriptlibjpeg-develglibc-headers

libtoollibusb-devel make python python-develPyXMLopenssl-devel

net-snmp-develpolicycoreutils-guiPyQtPyQt-develdbus-python notify-python sane-backends

sane-backends-devel sane-frontends xsane python-imaging python-imaging-devel"

C. Pre Installation Step(s)

In a terminal run:

su -c "rpm -ev --nodepslibsane-hpaio"

su -c "rpm -evhplip-gui"

su -c "rpm -evhplip"

su -c "rpm -evhpijs"

D. Link the libcrypto library. By default they are not linked as needed for HPLIP.

su -c "ln -s /lib/.0.9.8b /lib/"

Step 3: Disable SELinux

Because the newer version of HPLIP is not part of the SELinux policy--SELinux needs to be

disabled.

Run:

su -c "gedit /etc/selinux/config"

Change the line from "Enforcing" to "Disabled".

Step 4: 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:

tarxvfz

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

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

Example:


发布者:admin,转转请注明出处:http://www.yc00.com/num/1714786176a2515455.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信