LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-06-2010, 08:51 AM   #1
vivignesh
LQ Newbie
 
Registered: Jul 2010
Posts: 18

Rep: Reputation: 0
how to compile a linux kernel in fedora


i have downloaded .src.rpm file from net.
i dont know how to compile that.
can u tell me the basics of linux kernel compilation.

how to compile a kernel. how to install or modify the existing running kernel with tat. etc


I am using fedora 12 it has 2.6.31.5-127.fc12.i686.PAE

i havedownloaded kernel-2.6.31.5-127.fc12.src.rpm

Last edited by vivignesh; 07-06-2010 at 09:07 AM.
 
Old 07-06-2010, 08:56 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by vivignesh View Post
i have downloaded .src.rpm file from net.
i dont know how to compile that.
can u tell me the basics of linux kernel compilation.

how to compile a kernel. how to install or modify the existing running kernel with tat. etc
Spell your words out and write clearly, please.

Don't know what source RPM you downloaded, so we can't tell you how to compile it. You also don't say what version/distro of Linux, either, so it's hard to give you any help, when you don't provide any details.

Google has lots of information on how to compile a Linux kernels. First hit:
http://www.cyberciti.biz/tips/compil...kernel-26.html

Also, you install a source RPM with the standard "rpm -i <package name>" command. You then have to go into /usr/src/packages/SPECS, then build the 'real' RPM package with the rpmbuild command.
 
Old 07-06-2010, 02:44 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Quote:
Originally Posted by vivignesh View Post
i have downloaded .src.rpm file from net.
i dont know how to compile that.
can u tell me the basics of linux kernel compilation.

how to compile a kernel. how to install or modify the existing running kernel with tat. etc


I am using fedora 12 it has 2.6.31.5-127.fc12.i686.PAE

i havedownloaded kernel-2.6.31.5-127.fc12.src.rpm
As a newbie you are asking a lot of elementary questions. I suggest you do a search here on LQ for some of the queries. We will aid you when you help yourself to a solution. Provide us with what you have attempted and then maybe someone will be able to assist.
'How to Ask Questions the Smart Way' would be another link you should look at to help us to help you in the future.

Other source(s) would be some of the following links to aid you;

Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
LinuxSelfHelp
Getting Started with Linux
Bash Reference Manual
Advanced Bash-Scripting Guide
Linux Home Networking
Virtualiation- Top 10


The above links and others can be found at 'Slackware-Links' which has a lot of useful links. More than just SlackwareŽ links!
 
1 members found this post helpful.
Old 07-06-2010, 03:35 PM   #4
imagine_me2
Member
 
Registered: Nov 2009
Location: Kolkata, India
Distribution: Fedora 11
Posts: 136

Rep: Reputation: 22
You could use the following commands

$rpm --rebuild <source package name>

after you get binary use:

#rpm -i <binary rpm>

Try it out yourself. Report any errors

Regards.
 
Old 06-11-2011, 02:31 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by hhhprasad View Post
puff
You have reopened a thread that's a YEAR OLD, to post a spam link to your blog. Thanks, but no. Thread reported as both spam and a TRIPLE posting.

Last edited by colucix; 06-11-2011 at 04:09 PM.
 
1 members found this post helpful.
Old 06-11-2011, 04:01 PM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by hhhprasad View Post
puff
You spam... you vanish!
 
1 members found this post helpful.
  


Reply

Tags
compilation, kernel



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compile linux kernel on fedora 10 princelibya14 Linux - Newbie 10 04-12-2010 03:39 PM
LXer: How To Compile A Kernel - The Fedora Way LXer Syndicated Linux News 0 11-14-2006 02:21 PM
Can I compile 2.4.23 kernel under Fedora 4? amaolei Fedora 1 07-20-2005 06:39 AM
Fedora Core4 x64, no way to compile kernel proNick Fedora 2 07-12-2005 10:57 PM
Wierd happenings after Kernel Compile on Fedora claudius753 Linux - Software 3 12-31-2004 11:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration