Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
General principles with binary distribution
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
lars_the_bear
Guru
Guru


Joined: 05 Jun 2024
Posts: 522

PostPosted: Thu Jun 06, 2024 8:03 am    Post subject: General principles with binary distribution Reply with quote

Hi folks

I'm new to Gentoo (this week), so please bear with me.

I understand that until recently, Gentoo was distributed only as source code. Now there are some (many?) packages that can be distributed as binaries.

My question is: is there only one specific binary download for a particular package and architecture, or could there be many?

I ask because, with the combination of USE flags I have, pretty much everything is being built from source anyway. So who/what decides which binary packages are available, and which USE flags they comply with? Is this provision likely to expand?

BR, Lars
Back to top
View user's profile Send private message
NichtDerHans
Apprentice
Apprentice


Joined: 27 Jan 2023
Posts: 177

PostPosted: Thu Jun 06, 2024 8:25 am    Post subject: Reply with quote

I think there is only one binary for a package within the profile groups (amd64 -> Profile 23). These are built with the standard flags.

If your USE flags do not match the binary, Emerge will compile itself.


Maybe you have to learn that USE in make.conf is not ideal (there are exceptions), but it is recommended to assign USE flags to individual packages. But don't worry, this is a long time learning experience.
Back to top
View user's profile Send private message
lars_the_bear
Guru
Guru


Joined: 05 Jun 2024
Posts: 522

PostPosted: Thu Jun 06, 2024 8:42 am    Post subject: Reply with quote

Thanks.

NichtDerHans wrote:
I think there is only one binary for a package within the profile groups (amd64 -> Profile 23). These are built with the standard flags. If your USE flags do not match the binary, Emerge will compile itself.


Thanks. To be honest, I don't really understand what a profile is, in Gentoo terms. I chose 'profile 23' because everybody else seems to :) I don't actually know what effect that has on the build process. Is this documented somewhere (in terms that even a numpty like me would understand)?

NichtDerHans wrote:

Maybe you have to learn that USE in make.conf is not ideal (there are exceptions), but it is recommended to assign USE flags to individual packages. But don't worry, this is a long time learning experience.


It might not have a long time. I mean, I might not have an unlimited time to learn how to use Gentoo; but also: I'm not a young man, and I probably don't have a long time in any sense ;)

So any help that would speed things up is gratefully accepted.

BR, Lars
Back to top
View user's profile Send private message
NichtDerHans
Apprentice
Apprentice


Joined: 27 Jan 2023
Posts: 177

PostPosted: Thu Jun 06, 2024 9:32 am    Post subject: Reply with quote

A profile specifies default values (compiler features, toolchain parameters, USE flags, etc.) for the system. New values are provided by the developers every few years (new profile). You can customise them all for yourself.

https://wiki.gentoo.org/wiki/Profile_(Portage)

Delete the USE=XXX (yor added flags) from the make.conf file. If you enter "emerge --info", you will see the default USE flags of the selected profile. Try to get your Gentoo running with it first.

Then you can add individual things. :) :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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