SCIENTIFIC-LINUX-USERS Archives

March 2014

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
David Sommerseth <[log in to unmask]>
Reply To:
Date:
Wed, 19 Mar 2014 20:13:01 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (19 lines)
On 19/03/14 14:10, Mahmood Naderan wrote:
> Hi
> How can I test/install the kernel source in SL6.3? Which package
> should I search? Should I run "yum install kernel-headers" only? or
> there are some other related packages?

Try:

  yumdownloader --source kernel

This will download the source RPM for the running kernel (iirc).  Then
you just install the RPM file (can be a non-root user) and go into
~/rpmbuild/SPECS where you do:  rpmbuild -bp kernel.spec

--
kind regards,

David Sommerseth

ATOM RSS1 RSS2