View previous topic :: View next topic |
Author |
Message |
justguy n00b


Joined: 12 Apr 2025 Posts: 22
|
Posted: Tue Apr 15, 2025 2:06 pm Post subject: Is binary repositories necessarily? |
|
|
I have question if i dont put any binary mirrors in make.conf, but have official gentoo mirrors will it still install binary packages? |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31603 Location: here
|
Posted: Tue Apr 15, 2025 2:19 pm Post subject: |
|
|
No except if the package in the official non binary repository is not a binary of its own (like google-chrome, firefox-bin and other non-open source packages). _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
justguy n00b


Joined: 12 Apr 2025 Posts: 22
|
Posted: Tue Apr 15, 2025 2:34 pm Post subject: |
|
|
because i cannot access any binary repository URL (means i get error 404 then trying enter url) |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23360
|
Posted: Tue Apr 15, 2025 4:35 pm Post subject: |
|
|
justguy: when you have a question, please describe specifically what you intend to do or change. In this case, I would rewrite your initial question as: Quote: | If I leave PORTAGE_BINHOST blank, and I want to use FEATURES=getbinpkg, what happens? | Assuming that is your question, then I would first observe the note in man 5 make.conf: man 5 make.conf: | The
PORTAGE_BINHOST variable is deprecated in favor of the binre‐
pos.conf configuration file (see portage(5)).
| Setting that aside, I would expect the answer is that FEATURES=getbinpkg is ineffective without a binhost from which to obtain binpkgs. Ordinary Portage packages with a -bin suffix can still be installed "from source" - but note that for such packages, the source is itself just precompiled files. |
|
Back to top |
|
 |
justguy n00b


Joined: 12 Apr 2025 Posts: 22
|
Posted: Wed Apr 16, 2025 6:23 am Post subject: |
|
|
Thank u PORTAGE_BINHOST is important then enabling binary packages feature |
|
Back to top |
|
 |
justguy n00b


Joined: 12 Apr 2025 Posts: 22
|
Posted: Wed Apr 16, 2025 7:19 am Post subject: |
|
|
But idk for some reasons all working fine if i dont specify PORTAGE_BINHOST all still get binary packages i think because i have regular mirrors |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23360
|
Posted: Wed Apr 16, 2025 2:10 pm Post subject: |
|
|
In that case, perhaps my earlier speculation is wrong. I expected that FEATURES=getbinpkg would only work with PORTAGE_BINHOST set, but did not create a test environment to confirm it, and did not readily find documentation that confirmed or contradicted my expectation. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55190 Location: 56N 3W
|
Posted: Wed Apr 16, 2025 6:09 pm Post subject: |
|
|
Team,
The stage3 has a default binhost set. will show it.
From a Pi5 arm64 install
emerge --info: |
...
Binary Repositories:
gentoobinhost
priority: 1
sync-uri: https://gentoo.osuosl.org/releases/arm64/binpackages/23.0/arm64
...
|
Others can be added too. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
|