install kernel-source

From: kevin (kevin.liang_at_kingproducts.com)
Date: 07/12/05


Date: 11 Jul 2005 15:09:01 -0700

HI,

I wanna install kernel-source, Here are the steps what I did:
1)rpm -ivh kernel-2.6.9-1.667.src.rpm
2)rpmbuild -bp --target=noarch /usr/src/redhat/SPECS/kernel-2.6.spec

after these steps, I can find the source at
'/usr/src/redhat/BUILD/kernel-2.6.9'

However, when I type command
rpm -q kernel-source

it always said "package kernel-source is not installed"

Can anybody tell me why? (I am using FC3)

Thanks



Relevant Pages

  • Re: install kernel-source
    ... :"kevin" schreef in bericht ... :> I wanna install kernel-source, Here are the steps what I did: ... :Because you installed the source rpm for the kernel rpm. ... :You need to look for the kernel-source*.rpm file and install that. ...
    (linux.redhat.install)
  • Re: install kernel-source
    ... :it keeps saying that "package kernel-source is not installed". ... The install script will fail at "rpm -q kernel-source" ... Your install script is not compatible with current versions of Fedora ...
    (linux.redhat.install)
  • Re: How to check if kernel sources are installed on a system?
    ... Mandrake and CentOS - how about other RPM based distros? ... There's no kernel-source RPM on recent Fedora. ... Did you want the vendor kernel source, ...
    (Linux-Kernel)
  • Re: kde 3.5.1 level "a"
    ... christine wrote: ... for the kernel-source ... rpm -q kernel-default ... ok, i know the most important languages for linux english, german and ...
    (alt.os.linux.suse)
  • Re: FC3 Kernel Source
    ... > I'm not able to find the kernel-source RPM... ... > I need it to recompile my nvidia drivers on FC3. ...
    (Fedora)