View previous topic :: View next topic |
Author |
Message |
mikefot l33t

Joined: 19 Nov 2014 Posts: 709
|
Posted: Wed May 13, 2020 3:45 pm Post subject: installing latest kernel from gentoo sources. |
|
|
Dear All,
I ran emergeand 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 |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31724 Location: here
|
Posted: Wed May 13, 2020 4:43 pm Post subject: Re: installing latest kernel from gentoo sources. |
|
|
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.
"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968 |
|
Back to top |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 5843 Location: Bavaria
|
Posted: Wed May 13, 2020 6:46 pm Post subject: |
|
|
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 |
|
 |
mikefot l33t

Joined: 19 Nov 2014 Posts: 709
|
Posted: Thu May 14, 2020 11:27 am Post subject: |
|
|
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 |
|
 |
charles17 Advocate

Joined: 02 Mar 2008 Posts: 3686
|
Posted: Thu May 14, 2020 12:42 pm Post subject: Re: installing latest kernel from gentoo sources. |
|
|
mikefot wrote: | Dear All,
I ran emergeand 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 |
|
 |
|