Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to use eapi 8 and install the latest packages in Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
rupeshforu3
n00b
n00b


Joined: 19 Aug 2024
Posts: 34

PostPosted: Sat Nov 23, 2024 11:20 am    Post subject: how to use eapi 8 and install the latest packages in Gentoo Reply with quote

Hi I am Rupesh and I am from India and I brought a new system with AMD Ryzen zen3 5500GT and Asus prime b450 motherboard. I installed Gentoo Linux on my system and it is working fine but I can't install the latest version of packages.

With your valuable suggestions I have installed Gentoo Linux on my system but I have not modified the configuration files related to portage and so I think that newer version of packages are not installed.

The latest version of zen kernel is 6.12.1 which is in eapi 8 repository. But I have installed Zen kernel 6.10 40 days back. At present when I search for the word kernel using the following command

emerge -S kernel

I got result as

Zen kernel
Installed version 6.10
Available version 6.10

I think that that at present my system is using eapi 6 or eapi 7.

Kindly try to suggest how to use eapi 8 as default so that I can install latest version of packages.

Also can you say whether it is needed to install Gentoo Linux from the beginning.
_________________
Regards,
Rupesh.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1935

PostPosted: Sat Nov 23, 2024 2:43 pm    Post subject: Reply with quote

This is not a user concern beyond keeping the package manager, which is sys-apps/portage in Gentoo, up to date.

EAPI is primarily a concern for developers. It is what the package manager expects to find.

A system with multiple EAPI values is very valid and expected. There is no need for action here.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22752

PostPosted: Sat Nov 23, 2024 3:04 pm    Post subject: Reply with quote

If you want Portage to pick a specific version, you should tell it that. What is the full output of emerge --pretend --verbose '=category/package-version', for an appropriate category, package, and version? You did not show the specific package you want, so I cannot fill this in for you. "Zen kernel" is not a package, and is not something Portage should have printed. Perhaps you meant sys-kernel/zen-sources?
Back to top
View user's profile Send private message
rupeshforu3
n00b
n00b


Joined: 19 Aug 2024
Posts: 34

PostPosted: Sat Nov 23, 2024 3:53 pm    Post subject: Reply with quote

I want specifically to install the package zen-sources.

At present I am away from my system.

Can you try to suggest how to use eapi 8.
_________________
Regards,
Rupesh.
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1726
Location: South America

PostPosted: Sat Nov 23, 2024 4:09 pm    Post subject: Reply with quote

Gentoo's official repository hasn't packaged Zen kernel 6.12.1. I suppose that what you saw was a third party repository that packages it (maybe the kzd one?). If yes, then read here how to enable additional ebuild repositories.
_________________
NeddySeagoon wrote:
I'm not a witch, I'm a retired electronics engineer :)
Ionen wrote:
As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Back to top
View user's profile Send private message
rupeshforu3
n00b
n00b


Joined: 19 Aug 2024
Posts: 34

PostPosted: Sat Nov 23, 2024 4:16 pm    Post subject: Reply with quote

See the following page

https://packages.gentoo.org/packages/sys-kernel/zen-sources

It consists of the following sentence

It seems that version 6.12.1.zen1 is available upstream, while the latest version in the Gentoo tree is 6.10.10.
_________________
Regards,
Rupesh.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9313

PostPosted: Sat Nov 23, 2024 4:18 pm    Post subject: Reply with quote

Yes. Upstream for zen-sources is https://github.com/zen-kernel which is *not* Gentoo.
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1726
Location: South America

PostPosted: Sat Nov 23, 2024 4:25 pm    Post subject: Reply with quote

And Gentoo doesn't package that version, so you won't be able to install it with emerge. At least not from the official repository. And this has nothing to do with EAPI.
_________________
NeddySeagoon wrote:
I'm not a witch, I'm a retired electronics engineer :)
Ionen wrote:
As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Back to top
View user's profile Send private message
rupeshforu3
n00b
n00b


Joined: 19 Aug 2024
Posts: 34

PostPosted: Sat Nov 23, 2024 4:33 pm    Post subject: Reply with quote

Ok may I know when the zen kernel version 6.12.1 is going to be available to public.

I think that zen kernel in Gentoo is too old. Latest kernel 6.12.1 consists of various improvements.
_________________
Regards,
Rupesh.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5167
Location: Bavaria

PostPosted: Sat Nov 23, 2024 4:52 pm    Post subject: Reply with quote

At the moment only the gentoo-sources are available in version 6.12.1; even our distribution kernel is still on 6.11.10. Probably because we don't have the new linux-headers yet. Normally these will also be upgraded to 6.12 in a few days. I would wait until then (I'm still running gentoo-sources 6.11.10 myself).
Code:
 ~ # eix gentoo-kernel
* sys-kernel/gentoo-kernel
     Verfügbare Versionen:   
     (5.10.230) 5.10.230^tu
     (5.15.173) 5.15.173^tu
     (6.1.118) 6.1.118^tu
     (6.1.119) ~6.1.119^tu
     (6.6.62) 6.6.62^tu
     (6.6.63) ~6.6.63^tu
     (6.11.10) ~6.11.10^tu
       {debug experimental generic-uki hardened +initramfs modules-compress modules-sign savedconfig secureboot +strip test}
     Startseite:             https://wiki.gentoo.org/wiki/Project:Distribution_Kernel https://www.kernel.org/
     Beschreibung:           Linux kernel built with Gentoo patches

* sys-kernel/gentoo-kernel-bin
     Verfügbare Versionen:   
     (5.10.230) 5.10.230^tu
     (5.15.173) 5.15.173^tu
     (6.1.118) 6.1.118^tu
     (6.1.119) ~6.1.119^tu
     (6.6.62) 6.6.62^tu
     (6.6.63) ~6.6.63^tu
     (6.11.10) ~6.11.10^tu
       {debug generic-uki +initramfs modules-compress test}
     Startseite:             https://www.kernel.org/
     Beschreibung:           Pre-built Linux kernel with Gentoo patches

 ~ # eix linux-headers
[I] sys-kernel/linux-headers
     Verfügbare Versionen:   3.18-r1^bs 4.4-r1^bs (~)4.9-r1^bs 4.14-r2^bs 4.19-r1^bs 5.4-r2^bs 5.10-r2^bs 5.15-r3^t 6.1^bs 6.6-r1^bs (~)6.8-r1^bs (~)6.9^bs (~)6.10^bs (~)6.11^bs {headers-only}
     Installierte Versionen: 6.11^bs(13:53:25 11.10.2024)(-headers-only)
     Startseite:             https://www.kernel.org/ https://wiki.gentoo.org/wiki/Kernel
     Beschreibung:           Linux system headers

_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
nox23
n00b
n00b


Joined: 15 Jul 2012
Posts: 39

PostPosted: Sat Nov 23, 2024 6:05 pm    Post subject: Reply with quote

I manually fetch a git repo of xanmod sources. I think you can do the same for the zen sources.
I do as follow :

1. Init and clone the repo
Code:
git clone --depth 1 https://gitlab.com/xanmod/linux linux-xanmod


2. Then get the desired version
Code:
git fetch --depth 1 origin tag 6.10.12-xanmod1


3. apply
Code:
git checkout tags/6.10.12-xanmod1


For next updates re-apply 2. and 3. with wanted version :wink:
Back to top
View user's profile Send private message
rupeshforu3
n00b
n00b


Joined: 19 Aug 2024
Posts: 34

PostPosted: Mon Nov 25, 2024 5:10 am    Post subject: Reply with quote

Linux kernel which is not related to zen is updated frequently. At present it is at 6.11.10.

From the past two months zen kernel is at 6.10.10 and even version greater than 6.11.1 is not yet released to public.
_________________
Regards,
Rupesh.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22752

PostPosted: Mon Nov 25, 2024 2:17 pm    Post subject: Reply with quote

From a quick review of the gentoo.git history, it looks like anarchy@ is the most frequent committer to update zen-sources ebuilds for new versions. It also looks like anarchy@'s most recent activity is in September, for a bump of zen-sources. Therefore, if I were to speculate based only on that history, I would say that (1) you are waiting for anarchy@ to bump it (or for someone to step in on anarchy's behalf), and (2) anarchy@ has been busy with non-gentoo.git activity. I further guess then that anarchy@ is not specifically unaware of the newer versions, but simply is not doing gentoo.git work right now, and may get to zen-sources when he resumes contributing to Gentoo. A review of the relevant metadata.xml says anarchy@ is the only maintainer for this package.

I expect that the zen-sources-6.12.1 (or higher) ebuild will be available in gentoo.git soon after anarchy@ resumes contributing to gentoo.git. I make no commitments when that activity will resume.
Back to top
View user's profile Send private message
rupeshforu3
n00b
n00b


Joined: 19 Aug 2024
Posts: 34

PostPosted: Mon Nov 25, 2024 3:26 pm    Post subject: Reply with quote

Thanks for your suggestions and upto that time I will wait.
_________________
Regards,
Rupesh.
Back to top
View user's profile Send private message
rupeshforu3
n00b
n00b


Joined: 19 Aug 2024
Posts: 34

PostPosted: Sat Nov 30, 2024 7:40 am    Post subject: Reply with quote

Hi I am using Fedora and debian along with gentoo linux. I requested in their forums to release zen kernel to public. Their reply was

There's no performance gain in using zen kernel compared to generic kernel.

Is this true.
_________________
Regards,
Rupesh.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22752

PostPosted: Sat Nov 30, 2024 2:21 pm    Post subject: Reply with quote

The Zen kernel already is public. You can go use it right now, if you don't mind either going outside Portage or writing an ebuild for it yourself. You can use an existing ebuild as a baseline.

The statement that there is no performance gain is hard to quantify without more detail about the desired workload.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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