LinuxQuestions.org
Help answer threads with 0 replies.
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 01-23-2017, 04:01 PM   #1
chtsalid
Member
 
Registered: Jan 2017
Posts: 69

Rep: Reputation: Disabled
how to install a kernel src.rpm in CentOS 7


Hi,

I am trying to install a kernel in CentOS 7 using the downloaded src.rpm file.

wget http://vault.centos.org/7.3.1611/upd....1.el7.src.rpm

What are the steps?

Many thanks!
 
Old 01-24-2017, 08:49 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,108

Rep: Reputation: 7138Reputation: 7138Reputation: 7138Reputation: 7138Reputation: 7138Reputation: 7138Reputation: 7138Reputation: 7138Reputation: 7138Reputation: 7138Reputation: 7138
see man rpm
why don't you install it from repository: https://wiki.centos.org/HowTos/I_need_the_Kernel_Source
 
1 members found this post helpful.
Old 01-24-2017, 10:02 AM   #3
chtsalid
Member
 
Registered: Jan 2017
Posts: 69

Original Poster
Rep: Reputation: Disabled
thank you for the information.
 
Old 01-24-2017, 02:54 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,615

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
to add and for reference a "src" rpm is the source with the patches and spec file for BUILDING!!!! the install rpm package

you need to use rpmbuild to build the rpm from the src rpm
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Red Hat kernel src rpm install how to - kernel-2.6.18-128.2.1.5.15.el5.src.rpm iced lemon Red Hat 3 12-09-2014 03:54 PM
kernel-source.x.x.x.x.rpm vs. kernel.x.x.x.src.rpm mrkozmic Linux - Newbie 2 08-03-2010 11:59 AM
Install src.rpm of new kernel to non-boot disk - best approach mattp52 Linux - Software 1 07-24-2007 09:57 PM
How to install kernel.src.rpm csaju Red Hat 1 07-07-2006 03:46 AM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 04:24 PM

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

All times are GMT -5. The time now is 05:53 PM.

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