HP Linux Imaging and Printing

HP Linux Imaging and Printing (HPLIP)

Home > Installation > Step 2 > Fedora Core 4

Installation - Step 2 - Fedora Core 4

  1. Open a console/terminal window.
  2. Follow these steps to log in as the super user
  3. Enter this command:
$ su
  1. Press Enter.

  2. Enter the root password.

    Warning: The root password gives you administrative privileges on the system.

  3. Press Enter.

  4. Configure Fedora Core 4 using YUM;

  5. Enter this command: (if GCC compiler is not already installed)

# yum install gcc-c++
  1. Enter this command:
# yum install cups-devel python-devel PyQt net-snmp-devel libjpeg-devel libusb-devel
  1. Fedora Core 3 systems may also need to enter this command:
# yum install sip
  1. For Fedora Core 4, you must disable SELinux protection. Click the Desktop Menu item > System Settings > Security Level > then the SELinux Tab Remove the check mark next to the setting ""Enforcing Current:".

Note: There may be a Fedora Core 4 RPM available from Redhat that makes adjusting this security level unnecessary.

Optional: Configure Fedora Core 4 for using APT

Note: This step is not needed if YUM correctly installed the required packages. The APT instructions are provided if there are issues using YUM to install the required packages.

  1. Enter this command:
::
# rpm -ivh http://ftp.freshrpms.net/pub/fedora/linux/extras/4 /i386/apt-0.5.15cnc7-6.fc4.i386.rpm
  1. Press Enter.
  2. The system should prompt something like this:
Preparing...
#################################### [100%] 1:apt
#################################### [100%]
  1. Type:
# gedit /etc/apt/souces.list
  1. Add the following lines to the top of the sources.list file:
rpm http://ayo.freshrpms.net fedora/linux/4/i386 core updates freshrpms
rpm http://ayo.freshrpms.net fedora/linux/4/i386 tupdates
rpm http://ayo.freshrpms.net fedora/linux/1/i386 core updates freshrpms
  1. Click Save.
  2. Click File, then Quit.
  3. Enter this command:
# rpm --import /usr/share/rhn/RPM-GPG-KEY*
  1. Enter this command: (if GCC compiler is not already installed)
# apt-get install gcc
  1. Enter this command:
# apt-get install cups-devel python-devel PyQt net-snmp-devel libjpeg-devel
  1. Fedora Core 3 systems need to enter this command:
# apt-get install sip
  1. For Fedora Core 4, you must disable SELinux protection. Click the Desktop Menu item > System Settings > Security Level > then the SELinux Tab Remove the check mark next to the setting ""Enforcing Current:".

Alternatively, there is a Fedora Core 4 HPLIP RPM available from Redhat that makes adjusting this security level unnecessary.

Proceed to step 3.


Last update: Wed Mar 22 12:53:21 2006