Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installing latest kernel from gentoo sources.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mikefot
l33t
l33t


Joined: 19 Nov 2014
Posts: 639

PostPosted: Wed May 13, 2020 3:45 pm    Post subject: installing latest kernel from gentoo sources. Reply with quote

Dear All,

I ran emerge
Code:
 gentoo-sources
and ran
Code:
eselect kernel list
and the newest one I have is 5.4.38.

But the newest one on the gentoo-sources web page is 5.6.12.

I did once know the command to emerge the latest kernel from gentoo sources but I have forgotten.

I can't see it on the gentoo kernel installation web pages I usually use as an aid when doing kernel configurations and
upgrades.

If I ran the command
Code:
emerge ~amd64 sys-kernel/gentoo-source
would that do it?

Regards

Michael Fothergill
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24067
Location: here

PostPosted: Wed May 13, 2020 4:43 pm    Post subject: Re: installing latest kernel from gentoo sources. Reply with quote

mikefot wrote:
If I ran the command
Code:
emerge ~amd64 sys-kernel/gentoo-source
would that do it?

This syntax is wrong, correct one is ACCEPT_KEYWORDS="~amd64" emerge sys-kernel/gentoo-sources but isn't a good idea use this method.
You can add keyworded package in /etc/portage/package.accept_keywords with specific version or not
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
pietinger
Apprentice
Apprentice


Joined: 17 Oct 2006
Posts: 168
Location: Bavaria

PostPosted: Wed May 13, 2020 6:46 pm    Post subject: Reply with quote

You should also install the correspondending "linux-headers" (5.6) with the same keyword:
Code:
sys-kernel/gentoo-sources ~amd64
sys-kernel/linux-headers ~amd64

and emerge both.
Back to top
View user's profile Send private message
mikefot
l33t
l33t


Joined: 19 Nov 2014
Posts: 639

PostPosted: Thu May 14, 2020 11:27 am    Post subject: Reply with quote

Many thanks for your suggestions.

I ran the command

Code:
emerge --ask --autounmask =gentoo-sources-5.6.12


and installed the latest kernel.

I have now compiled and installed it on the machine using grub2.

I will install the linux headers package as well.

Regards

MF
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3268

PostPosted: Thu May 14, 2020 12:42 pm    Post subject: Re: installing latest kernel from gentoo sources. Reply with quote

mikefot wrote:
Dear All,

I ran emerge
Code:
 gentoo-sources
and ran
Code:
eselect kernel list
and the newest one I have is 5.4.38.

But the newest one on the gentoo-sources web page is 5.6.12.

mikefot,
have you made up your mind for often upgrading vs. using LTS kernel?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum