Re: How does one install kernel*.src.rpm ?

akonstam_at_trinity.edu
Date: 10/23/05

  • Next message: Amadeus W. M.: "Re: [OT] - DVD Player"
    Date: Sun, 23 Oct 2005 08:38:20 -0500
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    On Sun, Oct 23, 2005 at 08:01:11AM +0530, Parameshwara Bhat wrote:
    > Hello List,
    >
    > I tried to install kernel-2.6.13-1.1532_FC4.src.rpm with install-packages,
    > it refuses to install source rpm.I use rpm command directly,it seems to
    > process it,but installation doesn't seem to happen.I am producing the
    > command results below.
    >
    > [root@sidharth rpm]# rpm -ivh kernel-2.6.13-1.1532_FC4.src.rpm
    > 1:kernel ########################################### [100%]
    > [root@sidharth rpm]# rpm -qa|grep kernel
    > kernel-2.6.13-1.1532_FC4
    > kernel-doc-2.6.13-1.1532_FC4
    > kernel-2.6.11-1.1226_FC4
    > [root@sidharth rpm]# rpm -Uvh kernel-2.6.13-1.1532_FC4.src.rpm
    > 1:kernel ######################################## [100%]
    >
    > When I look at the archive,it contains many patch files and another
    > archive containing kernel sources. Can I just untar the kernel sources
    > from the rpm archive into /usr/src ? Where do I send patch files ?
    >
    > Thanks,
    >
    > Parameshwara Bhat
    Since I screwed up the last answer to this question let me try to do
    better. *.src.rpm files are not processed with rpm. You place the
    src.rpm in the directory /usr/src/redhat/SRPMS (this is not essential
    but makes things more organized). Then you process the file by
    running: rpm -ivh ...src.rpm which puts a spec file in :
    /usr/src/redhat/SPECS. Next you can run:
    rpmbuild -bb ...spec (i.e., the spec file). -bb is not the only
    option you can use. Check man rpmbuild

    An alternative is to run: rpmbuild --rpmbuild ..src.rpm (i.e, source
    rpm)

    The goal is to end up with a regular rpm file which could be installed
    with the rpm command in the usual way.

    -- 
    =======================================================================
    You canna change the laws of physics, Captain; I've got to have thirty minutes!
    -------------------------------------------
    Aaron Konstam
    Computer Science
    Trinity University
    telephone: (210)-999-7484
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Amadeus W. M.: "Re: [OT] - DVD Player"

    Relevant Pages

    • Re: RH9 2.4.22 kernel source install trouble
      ... then I did the same with my kernel sources (copied it ... from the 3rd Fedora disk) and rpm it. ... >> install the kernel ... >> Do you Yahoo!? ...
      (RedHat)
    • Re: Dependencies
      ... Should you install it or no? ... RPM is just a low-level tool that does one thing and that one ... If getting the GPG keys causes you heartburn, ... > To stay in the RPM subject, Apache give keys for their tarball versions. ...
      (linux.redhat)
    • Re: Three newbie questions!
      ... You can see the main groups, then the applications ... Until you get to know the names of applications, it is best to use RPM ... You normally find a README, an INSTALL, and a doc ... If you have installed any libraries, then you must run the following ...
      (comp.os.linux.setup)
    • FW: [SLE] YaST Online Update Problem
      ... >>update one of the rpms manually to see if rpm will give you a better error ... >SuSE to try to apply one of the patches? ... >I've always used YaST for Online Updates and for installing new packages. ... Not only that, but at the end of the install, it ...
      (SuSE)
    • Re: How to install Java/Frefox in FC6 -
      ... just don't trust java and rpm in the same breath, ... recall that when building packages, you always opt for ./configure && ... make && make install and I don't recall a single instance where you have ... I rebuilt kde to kde-3.3.0 using konstruct, didn't fix it. ...
      (Fedora)