LinuxQuestions.org
Review your favorite Linux distribution.
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, 03:01 PM   #1
chtsalid
Member
 
Registered: Jan 2017
Posts: 67

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, 07:49 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,098

Rep: Reputation: 4143Reputation: 4143Reputation: 4143Reputation: 4143Reputation: 4143Reputation: 4143Reputation: 4143Reputation: 4143Reputation: 4143Reputation: 4143Reputation: 4143
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, 09:02 AM   #3
chtsalid
Member
 
Registered: Jan 2017
Posts: 67

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

Rep: Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601
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 02:54 PM
kernel-source.x.x.x.x.rpm vs. kernel.x.x.x.src.rpm mrkozmic Linux - Newbie 2 08-03-2010 10:59 AM
Install src.rpm of new kernel to non-boot disk - best approach mattp52 Linux - Software 1 07-24-2007 08:57 PM
How to install kernel.src.rpm csaju Red Hat 1 07-07-2006 02:46 AM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 03:24 PM

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

All times are GMT -5. The time now is 04:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration