<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="shortcut icon" href="../../../images/favicon.ico" type="image/x-icon" /> <title>Configure Ubuntu</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" href="../../../styles/default.css" type="text/css" /> <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE" /> <META HTTP-EQUIV="EXPIRES" CONTENT="Mon, 22 Jul 2002 11:12:01 GMT" /> <META NAME="DESCRIPTION" CONTENT="HP Linux Imaging and Printing - HPLIP is an HP developed solution for printing, scanning, and faxing with HP inkjet and laser based printers in Linux."> <META NAME="KEYWORDS" CONTENT="HPLIP, HP, Linux, Printing, HPIJS"> </head> <body> <div id="page"><!-- start page --> <div id="container"><!-- start main container --> <!-- start banner --> <div id="banner"> <div id="banner_graphics"> <div id="floatleft"> <img src="../../../images/hplogo2.png" alt="HP Logo" border="0" /> </div> <div id="floatcenter"> <a href="../../../index.html"> <img src="../../../images/hpliplogo.png" alt="HP Logo" border="0" /> </a> </div> <div id="floatright"> <img src="../../../images/tuxlogo2.png" alt="Tux" border="0" /> </div> </div> </div> <!-- end banner --> <div id="navbar"> <table> <tr> <td valign="top"> <div id="sidebar-a"> <ul id="sidebar-a-list"> <menu compact="compact"> <div class="menuheader"><a href="../../../index.html" title="">Home</a></div> </menu> <div class="menuheader">About</div> <menu compact="compact"> <li><a href="../../../features.html" title="">Features</a></li> <li><a href="../../../screenshots.html" title="">Screenshots</a></li> <li><a href="../../../faqs.html" title="FAQs">FAQs</a></li> <li><a a href="../../../about.html" title="About">About HPLIP</a></li> </menu> <div class="menuheader">Setup and Installation</div> <menu compact="compact"> <li><a href="../../../downloads.html" title="Downloads">Download HPLIP</a></li> <li><a href="../../../install/index.html" title="Installation Instructions">Installation Instructions</a></li> <li><a href="../../../system_requirements.html" title="System Requirements">System Requirements</a></li> <li><a href="../../../supported_devices/index.html" title="Supported Devices">Supported Devices</a></li> </menu> <div class="menuheader">Usage and Support</div> <menu compact="compact"> <li><a href="../../../mailing_lists.html" title="Mailing Lists">Support</a></li> <li><a href="../../../howtos/index.html" title="How-Tos">How-Tos</a></li> <li><a href="../../../troubleshooting/index.html" title="Troubleshooting">Troubleshooting</a></li> <li><a href="../../../release_notes.html" title="Release Notes">Release Notes</a></li> </menu> <div class="menuheader">Resources</div> <menu compact="compact"> <li><a href="../../../tech_docs/index.html" title="">Technical Documentation</a></li> <li><a href="http://sourceforge.net/projects/hplip/" title="Our project page on Sourceforge.net">Sourceforge Project Page</a></li> <li><a href="../../../license.html" title="Software License">Software License</a></li> <li><a a href="../../../other_support.html" title="Other Support Information">Other Support Information</a></li> <li><a href="../../../contacts.html" title="Contacts">Contacts</a></li> </menu> </ul> </div> <!-- end sidebar --></td> </div> <td width=100%> <div id="content"><!-- start content --> <a href="../../../index.html">Home</a> > <a href="../../index.html">Installation</a> > <a href="../index.html">Manual Install</a> > <a href="index.html">Linux Distributions</a> > Ubuntu <hr size="1"/> <div class="document" id="manual-build-and-install-instructions-for-ubuntu"> <h1 class="title">Manual Build and Install Instructions for Ubuntu</h1> <div class="section"> <h1><a id="step-1-installation-prerequisite-steps" name="step-1-installation-prerequisite-steps">Step 1: Installation Prerequisite Steps</a></h1> <p><a class="reference" href="../../../release_notes.html">View the current Release Notes</a> for additional information on this release.</p> <div class="note"> <p class="first admonition-title">Note</p> <p class="last">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.</p> </div> <hr></div> <div class="section"> <h1><a id="step-2-install-dependency-packages" name="step-2-install-dependency-packages">Step 2: Install Dependency Packages</a></h1> <p><strong>A.</strong> Open a terminal shell.</p> <p><strong>B.</strong> Update your apt repositories.</p> <p>Enter this command:</p> <pre class="literal-block"> sudo apt-get update </pre> <p><strong>C.</strong> Install the required dependency packages.</p> <p>Enter this command: (choose the appropriate command depending on your version)</p> <p>Ubuntu 5.04 (Hoary) / 5.10 (Breezy)</p> <pre class="literal-block"> sudo apt-get install --yes --force-yes libcupsys libcupsys2-dev cupsys-bsd build-essential gs-esp openssl libjpeg62-dev libsnmp5-dev build-essential libtool libusb-dev build-essential python-imaging python2.4-qt3 python-dev python python python-reportlab sane libsane-dev sane-utils xsane </pre> <p>Ubuntu 6.06 (Dapper) / 6.10 (Edgy) / 7.04 (Feisty) / 7.10 (Gutsy)</p> <pre class="literal-block"> sudo apt-get install --yes --force-yes libcupsys2 libcupsys2-dev cupsys-bsd build-essential gs-esp openssl libjpeg62-dev libsnmp9-dev build-essential libtool libusb-dev build-essential python-imaging python-qt3 python2.5-dev python python python-reportlab libsane libsane-dev libsane xsane </pre> <hr></div> <div class="section"> <h1><a id="step-3-download-hplip" name="step-3-download-hplip">Step 3: Download HPLIP</a></h1> <div class="note"> <p class="first admonition-title">Note</p> <p class="last">We recommend that you download the HPLIP tarball to your home or desktop directory.</p> </div> <p><strong>A.</strong> Click here to <a class="reference" href="http://prdownloads.sourceforge.net/hplip/hplip-2.8.2.tar.gz">Download the Regular Tarball</a></p> <p><strong>B.</strong> Go to the directory where you downloaded the HPLIP tarball.</p> <p>Example:</p> <pre class="literal-block"> cd ~/Desktop </pre> <p><strong>C.</strong> Uncompress the tarball.</p> <p>Enter this command:</p> <pre class="literal-block"> tar xvfz hplip-2.8.2.tar.gz </pre> <p>This will create a directory with the same name as the tarball file.</p> <p><strong>D.</strong> Change your working directory to the hplip-2.8.2 directory.</p> <p>Example:</p> <pre class="literal-block"> cd hplip-2.8.2 </pre> <hr></div> <div class="section"> <h1><a id="step-4-configure-hplip-for-installation" name="step-4-configure-hplip-for-installation">Step 4: Configure HPLIP for installation</a></h1> <p><strong>A.</strong> This step configures the development environment and checks that your system is ready to install HPLIP.</p> For specific information on using ./configure and the different options <a href="#" onClick="MyWindow=window.open('../configure.html','MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=900,height=400'); return false;">please go here</a>. Also reference your distro documentation and configuration for additional information on which tags are relevant.<p>Enter this command (select the appropriate command depending on your system configuration):</p> <div class="note"> <p class="first admonition-title">Note</p> <p class="last">Ubuntu 7.04 / 6.10 / 6.06 and later use one of the commands:</p> </div> <p>32 bit distro users:</p> <pre class="literal-block"> ./configure --enable-network-build --disable-pp-build --enable-fax-build --enable-gui-build --enable-scan-build --enable-doc-build --enable-foomatic-ppd-install --disable-foomatic-drv-install --with-hpppddir=/usr/share/ppd/hpijs/HP --disable-hpijs-only-build --prefix=/usr </pre> <p>64 bit distro users:</p> <pre class="literal-block"> ./configure --enable-network-build --disable-pp-build --enable-fax-build --enable-gui-build --enable-scan-build --enable-doc-build --enable-foomatic-ppd-install --disable-foomatic-drv-install --with-hpppddir=/usr/share/ppd/hpijs/HP --disable-hpijs-only-build --libdir=/usr/lib64 --prefix=/usr </pre> <div class="note"> <p class="first admonition-title">Note</p> <p class="last">Ubuntu 8.04 / 7.10 use one of the commands below:</p> </div> <p>32 bit distro users:</p> <pre class="literal-block"> ./configure --enable-network-build --disable-pp-build --enable-fax-build --enable-gui-build --enable-scan-build --enable-doc-build --disable-foomatic-ppd-install --enable-foomatic-drv-install --with-drvdir=/usr/share/cups/drv/hp/ --with-hpppddir=/usr/share/ppd/hpijs/HP --disable-hpijs-only-build --prefix=/usr </pre> <p>64 bit distro users:</p> <pre class="literal-block"> ./configure --enable-network-build --disable-pp-build --enable-fax-build --enable-gui-build --enable-scan-build --enable-doc-build --disable-foomatic-ppd-install --enable-foomatic-drv-install --with-drvdir=/usr/share/cups/drv/hp/ --with-hpppddir=/usr/share/ppd/hpijs/HP --disable-hpijs-only-build --libdir=/usr/lib64 --prefix=/usr </pre> <hr></div> <div class="section"> <h1><a id="step-5-run-make" name="step-5-run-make">Step 5: Run Make</a></h1> <p><strong>A.</strong> This step will compile the HPLIP source.</p> <div class="important"> <p class="first admonition-title">Important</p> <p class="last">You want to run make as a regular user, NOT as root.</p> </div> <p>Enter this command:</p> <pre class="literal-block"> make </pre> <hr></div> <div class="section"> <h1><a id="step-6-run-make-install" name="step-6-run-make-install">Step 6: Run Make Install</a></h1> <p><strong>A.</strong> Run the symlink fix script.</p> <pre class="literal-block"> sudo python ./installer/fix_symlink.py </pre> <p>Or to run the script manually run:</p> <pre class="literal-block"> cat /installer/fix_symlink.py </pre> <p><strong>B.</strong> This step will install HPLIP.</p> <p>Enter this command:</p> <pre class="literal-block"> sudo make install </pre> <hr></div> <div class="section"> <h1><a id="step-7-post-installation-step-s" name="step-7-post-installation-step-s">Step 7: Post Installation Step(s)</a></h1> <p><strong>A.</strong> 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:</p> <ol class="arabic simple"> <li>Unlpug and re-plug in the USB printer, or</li> <li>Restart your PC.</li> </ol> <p>Failure to do this will cause your USB printer to not be detected by HPLIP.</p> <hr></div> <div class="section"> <h1><a id="step-8-configuring-your-printer-using-hp-setup" name="step-8-configuring-your-printer-using-hp-setup">Step 8: Configuring your printer using hp-setup</a></h1> <p><a class="reference" href="../hp_setup.html">Continue to hp-setup</a></p> </div> </div> <hr size="1"/> <center><small>Page last updated: Tue Feb 5 18:12:20 2008; HPLIP Version: 2.8.2</small></center> </div> </td></tr></table> </div> <!-- end content --> <!-- end container --> <div id="footer"><!-- start footer --> <hr size="1"/> <a href="../../../legal.html">Legal Notices</a> Copyright © 2003-2007, Hewlett-Packard Development Company, L.P. <a href="mailto:hplip@hp.com">Contact Site Maintainer</a><br> <a href="http://sourceforge.net/" alt="Hosted by Sourceforge.net"><img src="../../../images/sflogo.png" border="0"></a> </div> <!-- end footer --> </div><!-- end page --> <!-- google analytics --> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-1543832-1"; urchinTracker(); </script> <!-- start google analytics from hplip.marketing --> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-1543832-7"; urchinTracker(); </script> <!-- end google analytics --> <!-- START OF ACTIVEMETER CODE --> <script type="text/javascript" language="javascript"> var __pid=30231; var __am_invisible=1; </script> <!-- END OF ACTIVEMETER CODE --> </body> </html>