this post was submitted on 24 Feb 2024
60 points (91.7% liked)

Linux

48709 readers
1082 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I've installed gentoo but there seems like there's so many sacrifices. I love that it's all open source, but I really don't mind closed source software now and then, because after all I would be using it to play closed source games. The biggest compromise I've observed is the very long build times. I have a lukewarm cpu(i3 10100) and it's powerful enough for good gaming but the build times are still like 10x minimum for some software. All this to say, is using gentoo really worth it? I love the idea behind it, and if I was doing criminal activity I'd definitely use it, but is there some absolute upside to it or is it a really good OS for privacy that sacrifices in usability?

all 37 comments
sorted by: hot top controversial new old
[–] [email protected] 49 points 10 months ago* (last edited 10 months ago) (1 children)

Gentoo is more about the fun of building a Linux distro that is perfectly tailored to your hardware and personal preferences. Sometimes you'll see a performance increase of 0.01%, sometimes 25%+. Just depends on a lot of different things.

The build times are really only a consideration on first or second install of the OS. And even with your first install, you'll probably want to start with the pre-built options, and then gradually move away from that to compiling more and more of your own system.

There are a couple apps like Firefox that also have pre-compiled binaries available for Gentoo, so no waiting there. Of course, there's also Flatpak for desktop-based apps.

Otherwise, you just compile what you want, when you want. And you can tell Portage how much in terms of cores/threads/resources it gets to use when compiling, so that it can just run in the background while you're doing your normal thing (or scheduled for when You're not using your machine).

Portage is also a phenomenal package manager, and can track and satisfy all dependencies for you as-needed. You can also specify what elements of your system to keep on stable, vs testing, etc. It's not like Slackware.

Gentoo is what was used to build ChromeOS, along with many other distros. It's as complex/simple, secure/insecure, private/un-private, latest-and-greatest/LTS as you tell it to be. You can choose to update things continuously in the background, or just once a week overnight, or on any other schedule that you want.

You'll probably learn some new things in the course of installing it, but follow the handbook to the letter, avail yourself of the community, and be patient to start with. It works for me, and I like it, but there are plenty of excellent pre-cooked distros that are also great. I'm just a tinkerer by nature, and enjoy getting increasingly more out of my machines over time.

[–] [email protected] 6 points 10 months ago

Man that's wild that ChromeOS started as Ubuntu but then changed to Gentoo as a base. Then they launched the Linux VM thing and those images are based on Debian

Well, I can't say I get it, but yeah cool

[–] [email protected] 16 points 10 months ago (2 children)

Why would you use Gentoo for criminal activity over any other operating system including Windows and Mac?

If you want to keep your installation and save a little bit of time updating it then use the binary repo.

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago)

Why would you use Gentoo for criminal activity over any other operating system

Funnily enough, someone actually did get arrested for allegedly building a Gentoo-based distro for ISIS.

[–] [email protected] 2 points 10 months ago (3 children)

I would use it because of how customizable it is. Encryption support seems very robust, and you've got all-foss obviously. It seems like a great option like tails, but more customizable

[–] [email protected] 11 points 10 months ago (1 children)

If customizability is your concern, then Arch might be a better fit. Arch is almost as customizable, without the build step. The recent Gentoo binary repo is also equivalent.

I use Gentoo too. But it's for another reason.

[–] [email protected] 5 points 10 months ago (1 children)

Not really, on Gentoo you can set use_flags to disable entire parts of a binary. Is it useful? Is it worth it? I personally think not, which is why I stopped using Gentoo, but it's definitely more customisable than Arch.

However that has nothing to do with doing illegal stuff, not sure where he got that idea from.

[–] [email protected] 1 points 10 months ago (1 children)

I think it is very useful because of that, because that way you can omit dependencies that would be installed otherwise.

And maybe it reduces the risk of having bugs and security problems in the software that you use tied to certain features of it you don't have compiled in.

[–] [email protected] 2 points 10 months ago

Or maybe it causes other bugs or security issues that are not widely known because most people use it with different flags.

It's no more or less secure, it's just more customisable.

[–] [email protected] 3 points 10 months ago

You either have to learn very advanced, current security stuff and completely understand the logic of Linux security or pay significant sum to a person who knows to do criminal things on any Linux or protect your private life. Windows? Multiply time& money by 10X. Unless you are Fortune 500 or a government you aren't getting the source anyway.

I am telling it to people who will install any ISO blindly paying significant amounts of cash to VPN services with their own credit cards and access their Gmail :-)

[–] [email protected] 2 points 10 months ago (1 children)

And obviously tails is a live usb os and designed for that purpose

[–] [email protected] 2 points 10 months ago

Yeah tails wasn't the best comparison on second thought

[–] Shihali 15 points 10 months ago

Gentoo seems great if you want to experiment with patches to major programs or system libraries. That's what I used it for.

[–] [email protected] 11 points 10 months ago

Gentoo is good for learning. It's not really a privacy or security-focused distribution per se. It promotes you being comfortable with the command line, configuration files, networking, unix-ie things, and of course compiling programs. If you're tired of the compiling there is basically no downside to switching to Arch as a "one step up" distribution.

[–] [email protected] 10 points 10 months ago

or is it a really good OS for privacy that sacrifices in usability?

Privacy and usability are inversely correlated. Anyone who tells you otherwise either has a relatively weak definition of "privacy" or a relatively exotic definition of "usable". If you're at the point of installing an OS like Gentoo just for its privacy benefits alone, I'd say you're already the latter case, even from the perspective of most fellow Linux users.

Of course, that doesn't necessarily imply very un-private software is always very usable, or that highly privacy-respecting tools with good UX don't exist. Just that most highly UX-polished software tends to have poor privacy, and most privacy-focused software expects the user to do a lot of hoop-jumping to make up for all the systems and workflows the user can't utilize due to having some dealbreaking non-privacy-respecting component to them.

[–] [email protected] 10 points 10 months ago* (last edited 10 months ago)

Gentoo also has closed source software available. It just uses the ebuild to configure the install.

Chrome for example.

Gentoo is not sold as a privacy or criminal OS. It is used for customization and optimization that you cannot have in the same way without rebuilding software.

[–] fin 9 points 10 months ago (1 children)

If you want fastness, consider using void linux instead

[–] [email protected] 6 points 10 months ago

I laughed at the word 'fastness', but then realised it's a lot safer than offering 'speed' on the internet lol

[–] [email protected] 8 points 10 months ago* (last edited 10 months ago)

Actually, Gentoo has no restrictions against packaging closed-source software, or even for-pay software. The net-im category is full of closed source.

Closed-source games rarely get packaged, and almost never in the main tree, in part because they all have to be fetch-restricted. The system can't predict whether you bought from Steam or GOG or some smaller store, or whether you have a means of downloading from that store without user interaction, so it has to send you to download the package yourself and place it in the source directory. That's considered a black mark against the package. (There was someone a few years ago who was packaging GOG games in an overlay, but they don't seem to be doing it anymore.) In general, no distro will package this stuff—you're better off installing Steam and having it manage your games.

As for build times, get used to letting updates involving large packages run unattended overnight. Sort out the dependencies, issue an emerge with --keep-going, and go to bed. Works for PI3s and my Athlon64x2 laptop, anyway. (If this is still intolerable for you, maybe Arch would be a better fit?)

Finally, you may not be aware that the most complete list of Gentoo-packaged software available is not on the official site, but at gpo.zugaina.org, which also indexes ebuilds in overlays and Bugzilla.

[–] [email protected] 7 points 10 months ago (1 children)

afaik, the "main gimmick" of gentoo is to have a distro that is 100% optimized for your PC. That aside, I don't see a point installing it unless your PC is centuries old and really need the extra speed boost.

[–] [email protected] 1 points 10 months ago

i figured that the opposite is true:
https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html

compare
‘core2’
Intel Core 2 CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3, SSSE3, CX16, SAHF and FXSR instruction set support.

vs:
'graniterapids-d’
Intel graniterapids D CPU with 64-bit extensions, MOVBE, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, POPCNT, CX16, SAHF, FXSR, AVX, XSAVE, PCLMUL, FSGSBASE, RDRND, F16C, AVX2, BMI, BMI2, LZCNT, FMA, MOVBE, HLE, RDSEED, ADCX, PREFETCHW, AES, CLFLUSHOPT, XSAVEC, XSAVES, SGX, AVX512F, AVX512VL, AVX512BW, AVX512DQ, AVX512CD, PKU, AVX512VBMI, AVX512IFMA, SHA, AVX512VNNI, GFNI, VAES, AVX512VBMI2, VPCLMULQDQ, AVX512BITALG, RDPID, AVX512VPOPCNTDQ, PCONFIG, WBNOINVD, CLWB, MOVDIRI, MOVDIR64B, ENQCMD, CLDEMOTE, PTWRITE, WAITPKG, SERIALIZE, TSXLDTRK, UINTR, AMX-BF16, AMX-TILE, AMX-INT8, AVX-VNNI, AVX512FP16, AVX512BF16, AMX-FP16, PREFETCHI and AMX-COMPLEX instruction set support

[–] Divine_Confetti 7 points 10 months ago (3 children)

If you are looking for a good OS for privacy I would recommend Qubes OS, it completely blows away pretty much everything else besides tails. Gentoo is not exactly the most private of operating systems apart from the usual linux privacy.

[–] [email protected] 5 points 10 months ago* (last edited 10 months ago)

Seconding the qubes recommendation but tails is fantastic as well and can be isolated to a usb drive

[–] [email protected] 2 points 10 months ago

I had a great time using Qubes. It made me learn about the Xen hypervisor and CoW filesystems.

However, if OP complains about build times being too long on their CPU, I'm not sure they will get Qubes running smoothly on the same hardware. I'm especially worried about every VM besides dom0 being software rendered.

[–] [email protected] 7 points 10 months ago* (last edited 10 months ago) (1 children)

Gentoo can be good if you desire some very weird or exotic configurations or just want more granular customisability that binary DIY distros don't offer. The way it's built allows that in a way that makes it easier there. If you don't really need that and aren't a fan of the build times, it won't hurt going for something like Void or Arch which are also DIY distros but all-binary so you don't need to worry. (unless you use xbps-src or the AUR).

[–] [email protected] 2 points 10 months ago

As a developer the cool thing about Gentoo is you can have a full debugging stack. You can compile every single library and program on the system with debugging symbols and source and you can trace an issue all the way through. It's really not possible to do on other distros. Having learned a bit more about gdb when debugging, it is really cool.

[–] [email protected] 7 points 10 months ago* (last edited 10 months ago)

The package manager portage is simply the most flexible one I have ever used, especially with the new binary repositories; it beats deb and dnf/rpm by far in my opinion.

Ommiting features of installed software with the help of useflags can make it more stable and secure.

I think it is "criminal" not wanting to use Gentoo as a daily driver. But this is just me and my opinion doing only honest stuff with it. (:

[–] [email protected] 6 points 10 months ago

No, but it is fun too use 🙃

[–] [email protected] 4 points 10 months ago

Definitely not for my use case which is just having a desktop where I can write documents and surf the net. So I just don't go for it.

It appears it is not for your usecase either. I would second going for all binary distros like arch or void.

[–] [email protected] 4 points 10 months ago (1 children)

Gentoo is a great learning tool for linux. It's also got a great package manager and lets you truly customise the system to your liking, which is why I stuck around.

Of course I hear you can do the latter thing with Arch, but I don't know Arch, so…

[–] [email protected] 2 points 10 months ago

I mainly use arch and it definitely allows lots of customization but not to the level I see gentoo does.

[–] [email protected] 4 points 10 months ago

You have a relatively weak CPU for Gentoo -- there is no denying that. The upside of Gentoo is that you can make it exactly how you want it, it will be truly tuned by you for you unlike anything else. I ran it myself for a while. And if you want security, if you have the time to really understand the hardening options Gentoo can be more secure than anything else. As I said, how good Gentoo works and what it can do is a direct function of the user.

[–] [email protected] 4 points 10 months ago

Gentoo is for burning cpu time, not much more.

[–] [email protected] 3 points 10 months ago
[–] [email protected] 1 points 10 months ago

Just use binary packages, you don't need to build everything. Maybe Gentoo is not for your use case