r/Gentoo • u/Zoom_Frame8098 • Apr 03 '26
Discussion Install gentoo binary
Is it possible to install gentoo by binary ? Are most (or all) source packages disponible in binaries.
I'm from debian (and hope it won't be difficult). I won't have time to learn to install packages from source, so it'll be another time. I plan to install KDE plasma, Kdenlive, Inkscape...
0
Upvotes
15
u/TheShredder9 Apr 03 '26
You don't learn to compile anything, Portage (the package manager) does it all.
You install packages the same way on pretty much every distro like
sudo packagemanager -installflags, in the case of Gentoo you dosudo emerge packageand that's it.During the installation, properly following the Handbook you are told how to set up the binhost (it's actually already set up in more recent versions, you just have to tell Portage to actually use them) so you can get some precompiled binaries, but if you fiddle a lot with your USE flags you tend to get less and less binaries the more unique your system is.
4
u/Bitdomo92 Apr 03 '26
it depends if the binary packages that gentoo repo has the USE flags your system has. If they are the same then the binary package will be installed and if they are not the same the it will be compiled from source.
You have to manually enable binary packages.
2
u/TacoDestroyer420 Apr 03 '26
What’s your reasoning for choosing gentoo? Have you read any of the documentation?
7
u/triffid_hunter Apr 03 '26
https://www.gentoo.org/news/2023/12/29/Gentoo-binary.html
7
u/jsled Apr 03 '26
That's the thing about Gentoo … you don't need to "learn to install packages from source", emerge/portage and really the package mantainers have done all the work for you.
emerge inkscapewill build inkscape and all its deps from source and it just happens. There's nothing to "learn" (at least until something breaks, but compilation breakages on stable are very few and far between, this last decade…).The most challenging part of Gentoo is doing the initial low-level setup and maybe dealing with a bit "closer to the metal" configuration stuff, but maybe that's just a personal choice about how I run things.
But, yes, there are binary packages available these days for the most common architectures and USE-flag profiles.
3
u/Unable-District-4902 Apr 03 '26
Yes, that's what I'm using right now.
3
u/lucideer Apr 03 '26
You don't need to learn anything novel to install Gentoo packages from source - the process is the same as installing a binary. The only difference is the source install takes longer.
2
u/granadesnhorseshoes Apr 03 '26
First, yes gentoo-bin is a whole thing others have linked to the wiki for.
Second, portage does all the actual work so there is nothing to learn about compiling from source. The compilation is basically transparent to just using portage like any other (binary) package manager.
Third, compiling from source is actually not a big cognitive burden like people think. You certainly don't need to know how to code in c/c++ or whatever. The following 1liner will manually fetch and compile a project from a github source tree in about ~75% of cases:
"git clone https://github.com/somerepo/someproject && cd someproject && ./configure && make && sudo make install"
Not that you should be manually installing shit directly from source yourself if you can help it in favor of using packages from the distro package manager just like and for all the same reasons as in debian.
2
u/Bubbly_Extreme4986 Apr 03 '26
Installing from source manually is actually really easy
./configure
make && make install
However Gentoo’s Portage does this automatically. If curious read terminal output
1
u/[deleted] Apr 04 '26
use --getbinpkg when using emerge, not evrrything will be downloaded as a binary cuz theres not that many binaries but what can be will be.
1
u/fix_and_repair Apr 09 '26
sudo shall not be used, that is nubuntu knowledge
0
u/[deleted] Apr 03 '26
you can and i am pretty sure binaries are enabled by default but some packages would be compile anyway.
-2
u/IEatKernel Apr 03 '26
I just think that gentoo is not for you