Gentoo Linux 现在提供用于快速软件安装的二进制包
Gentoo
![](/data/attachment/album/202401/03/142406n5k61kq3xddmu8mk.jpg)



> 
> Gentoo 为硬件速度慢的用户准备了一份年终大礼。
> 
> 
> 


如果你不觉得这有什么大不了，那就说明你不了解 Gentoo。


Debian 有 deb 软件包，Fedora 有 RPM 软件包。甚至 Arch Linux 也提供了通过 Pacman 命令安装的二进制包。基本上，这些发行版从源代码构建这些包并将其提供给你。你可以使用发行版的包管理系统来获取这些二进制文件并将它们安装在你的系统上。


但进入 Gentoo 领域，情况就完全不同了。想要安装任何软件吗？ 你必须从源代码编译它。


是的，你没看错。这就是围绕编译和 Gentoo 产生了如此多的表情包的原因。


![A blend of Gentoo and dad joke](/data/attachment/album/202401/03/142449upg62zr2ipvri3ur.png)


从源代码编译软件的问题意味着它将需要更多的计算能力。当你编译软件时，你的 CPU 将非常繁忙。


![](/data/attachment/album/202401/03/142450fb7hphemnakp7gyt.png)


当然，编译一个软件需要一些时间。


![Image source: r/linuxmemes](/data/attachment/album/202401/03/142520q3xv285zywvbxbb3.jpg)


### 现在你可以在 Gentoo 中“安装”软件包而不是编译它们


Gentoo 的包管理器 Portage 多年来一直支持二进制包。只是没有预编译二进制包的集中仓库。


现在这种情况正在改变，因为 Gentoo 现在提供二进制包供下载和直接安装。


对于大多数架构，它将仅限于核心系统和每周更新。然而，对于 [amd64 和 arm64](https://itsfoss.com/arm-aarch64-x86_64/)，有一个为 LibreOffice、Docker、Plasma、GNOME 等流行软件提供二进制文件的巨大仓库。


这对于使用低端硬件或不希望一直手动编译的 Gentoo 用户来说非常方便。


我知道你对在 Gentoo 中使用二进制包有很多疑问。查看 [Gentoo 的官方公告](https://www.gentoo.org/news/2023/12/29/Gentoo-binary.html)，其中包含详细内容。


![](/data/attachment/album/202401/03/142451xf7eaznwpn7g52ah.png)


### 基于源代码的安装不会消失


先别生气，我的 Gentoo 伙计！你仍然可以享受从源代码编译的乐趣。这个选项不会消失。你仍然可以像以前一样享受编译的乐趣。二进制软件包是可选的。它们不会强迫你使用。


编译每一个包有其好处。软件针对其运行的系统进行了优化。这就是 Gentoo 用户所夸耀的性能提升。


![](/data/attachment/album/202401/03/142452um3gggdmydofrvxy.png)


由于系统资源有限，低端计算机需要更长的编译时间，但它也可以通过为机器构建每个软件来获得性能优化。如果你问我的话，这有点像第 22 条军规的情况。


### 你用 Gentoo 吗？


我坚信这不仅会为现有的 Gentoo 用户群带来便利，而且还将有助于扩大其用户群。毕竟，一个发行版用户在安装 Arch 之后会做什么呢？


我在这里的新闻报道中使用了很多表情包，因为现在是快乐的季节 ☃️


也许你可以利用寒假安装（但不编译）Gentoo ?


享受节日和假期！


*（题图：DA/389d8213-29fd-4149-b591-45e6cc9b0bb0）*




---


via: <https://news.itsfoss.com/gentoo-binary-packages/>


作者：[Abhishek](https://news.itsfoss.com/author/root/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
![](/assets/images/pikapods-banner-v3.webp)


![](/assets/images/pikapods-banner-v3.webp)

If you don't see the big deal with it, you don't know Gentoo.

Debian has deb packages, Fedora has RPM packages. Even Arch Linux provides binary packages that are installed via the Pacman commands. Basically, these distributions build these packages from the source code and make them available to you. You use the package management system of your distro to get those binaries and install them on your system.

But enter into the Gentoo realm and things are entirely different here. Want to install any piece of software? You have to compile it from the source code.

Yes, you read that right. That's the reason so many memes exist on compiling and Gentoo.

![Gentoo if it moves, compile it.](https://news.itsfoss.com/content/images/2023/12/gentoo-ifi-it-moves-compile-it.png)

The problem with compiling a software from its source code means it will take more computational power. Your CPU is going to be super busy when you compile software.

![Gentoo compile meme](https://news.itsfoss.com/content/images/2023/12/gentoo-compile-meme.png)

And, of course, it takes some time to compile a software.

![Gentoo compile time meme](https://news.itsfoss.com/content/images/2023/12/gentoo-compile-time-meme.webp)

[r/linuxmemes](https://www.reddit.com/r/linuxmemes/comments/yq0on5/this_is_gentoo/?ref=news.itsfoss.com)

## Now you can 'install' packages in Gentoo instead of compiling them

Gentoo's package manager, Portage, has had support for binary packages for years. It's just that there were no centralized repository with pre-compiled binary packages.

This is changing now as Gentoo is now offering binary packages for download and direct installation.

For most architectures, it will be limited to core system and weekly updates. However, for [amd64 and arm64](https://itsfoss.com/arm-aarch64-x86_64/?ref=news.itsfoss.com), there is a huge library providing binaries for popular software like LibreOffice, Docker, Plasma, GNOME and more.

This will be really convenient for Gentoo users who are on low-end hardware or who don't want the manual compilation all the time.

I know you would rather have a lot of questions about using the binary packages in Gentoo. Check out the [official announcement from Gentoo](https://www.gentoo.org/news/2023/12/29/Gentoo-binary.html?ref=news.itsfoss.com) that covers things in detail.

[Gentoo goes Binary! – Gentoo LinuxNews and information from Gentoo Linux](https://www.gentoo.org/news/2023/12/29/Gentoo-binary.html?ref=news.itsfoss.com)![](https://www.gentoo.org/assets/img/logo/gentoo-g.png)


![](https://www.gentoo.org/assets/img/logo/gentoo-g.png)

## Source based installation is not going anywhere

Don't outrage just yet my Gentoo comrade! You can still enjoy compiling from the source. That option is not going anywhere. You can still enjoy compiling like you used to. The binary packages are optional. They are not forced upon you.

Compiling each package has its benefits. The software is optimized for the system it runs on. That's the performance boost Gentoo users boast of.

![Gentoo meme](https://news.itsfoss.com/content/images/2023/12/gentoo-faster-meme.png)

A low end computer takes longer to compile due to limited system resources but it also gets the performance optimization by building each software for the machine. Kind of a catch-22 scenario, if you ask me.

## Will you Gentoo?

I strongly believe that this will not only be convenient for the existing Gentoo users set but it will also help grow its user base. After all, what will a distrohopper do after installing Arch?

I used numerous memes in the news story here because it's the season to be jolly ☃️

Maybe you can spend your winter break installing (but not compiling) Gentoo 😜

Enjoy the festivities and the holidays!

## More from It's FOSS...

- Support us by opting for
[It's FOSS Plus](https://itsfoss.com/#/portal/signup)membership. - Join our
[community forum](https://itsfoss.community/). - 📩 Stay updated with the latest on Linux and Open Source. Get our
[weekly Newsletter](https://itsfoss.com/newsletter/).