Get a ThinkPad+Gentoo they said. It will be fun they said.

submitted by

https://lemmy.world/pictrs/image/c8ac33cc-0546-44a4-9e2d-28683ba950e2.jpeg

Get a ThinkPad+Gentoo they said. It will be fun they said.

1hr+ for a general update* (following the guide. Pre-kernel)

On a more serious note, gentoo is fun... On competent hardware. This is a 4 core Celeron N2940 with 4gb of RAM.

*emerge --ask --verbose --update --deep --changed-use @world is too long to type...

378

Log in to comment

47 Comments

ThinkPad? Without clit mouse? Am I supposed to use my own nipple, or god forbid, the TrackPad?

Maybe its just because i dont have a Desktop Environment yet, but my nipple isnt working :(

Nipple support is included in the genital engorgement flatpak

Have you ever played arcade? Do you sometimes wonder which part of your body controls the movement?

Weather update. 2hr20min. Terminal output hasnt updated since I posted. Close to giving up for the night. (If it STILL hasnt moved in the morning, ill just start again then)

You might have run out of memory. Linking in particular can require lots of RAM, and if you run out, the entire machine will freeze.

When trying to run gentoo, if you're emerging with fewer than a few dozen cores (either in a single machine with something like a threadripper, or in a cluster with distcc), then I highly recommend using the binary versions of certain packages. This can be done either with -bin versions of packages, or something like the Gentoo Binary Host Project.

Packages that particularly benifit from using binary versions would primarily web browser or web browser adjacent packages such as Firefox, Chrome, QTWebEngine, but really any particularly large compile that doesn't benifit from compiling locally (eg: not that many use flags, not likely to use any additional CPU features you might have such as avx512). In fact, bin versions of Web browsers often will perform much better than locally compiled versions since they are compiled with additional optimisations that either make the compile time even longer (O3 and LTO), or require additional manual steps (such as PGO where the unoptomised browser is compiled and ran through real-world workloads with a profiler attached to identify code hotpaths so the compiler can optimise more efficiently during a second complete compile run).

All I have emerged was vim (because nano hurts my muscle memory) and fastfetch (because style points). That took 20 minutes+, but I just hoped its because i didnt select closer mirrors then.

Oh yeah. OpenRC, Desktop profile, multilib, so whatever packages included in there.

If i remember, use flags were : -kde, -gnome, -systemd, wifi... Not TOO crazy

If you're doing an @world emerge, then you'll be recompiling all installed packages with updates, including dependencies.

One of the heavier packages that's included in almost every desktop profile as a dependency somewhere is dev-qt/qtcore (full list of packages in the standard desktop profile here, though each package listed here will have its own dependencies which may have their own dependencies, etc. So it is not an exhaustive list), qtcore also appears to be what was compiling when the photo in your post was taken so is likely the primary cause of that specific long build time.

That netbook is not what I would consider a ThinkPad. And distro wise, is crunchbang still a thing? Something simple with openbox or max xfce would probably be a smart choice. This thing won't be fun for builds or other compute heavy tasks. For browsing the web and chats it's probably fine

Nice! Might throw this on my x220 once I finally repaste and clean that poor thing ๐Ÿ˜…

I should give my x200s its yearly boot up...

Time to figure out distcc so you can offload the compilation to a faster machine.

Ccache is also good to compile and set up as one of the first.

Or set up your own binhost

I think that's more for when you have multiple machines (that would use the same USE flags) and you only want to have to compile once. OP's use-case re: binary packages would be more about getting them from somebody else (i.e. a public binhost that already exists) so he doesn't have to compile at all.

I was suggesting using your own binhost as an alternative to distcc.
If someone's considering distcc, presumably they've already decided not to use the public Gentoo binaries, and want to do the compilation themselves

I think thatโ€™s more for when you have multiple machines (that would use the same USE flags) and you only want to have to compile once.

One issue with distcc is some of the build operations can't be delegated. If you want to minimise resource usage as much as possible (e.g. on old hardware) and want to compile yourself, then running your own binhost makes sense.

lol. i used Gentoo for 5 years or so. it's the only distribution I don't recommend.

it assumes you have hours of CPU time to waste, and hours of your time to dispatch-config afterwords.

do Debian or arch.

lol. i used Gentoo for 5 years or so. itโ€™s the only distribution I donโ€™t recommend.

There are like a million special purpose distributions that I'd recommend people not using as a general-purpose distro.

https://github.com/FabioLolix/LinuxTimeline/releases

If it helps, you can emerge them overnight.

Wtf kinda thinkpad is that? No nipple, massive bezels, and rounded corners. Are you sure this isn't some weird Temu counterfeit?

Gentoo is fantastic for learning. It forced me to get intimate with internals I had no exposure to before. And I learned a lot of little tricks from it that accelerated my career. Or at least made it easier.

Iโ€™d try to find something a bit more beefy if you plan on compiling almost everything. And once you get it where you like it, take a backup or system image you can restore to. Because when it breaks, itโ€™ll be a lot less painful to start over.

Legend says it's still compiling.

I've tried Gentoo with a fork (Sabayon Linux). It was all good and fun until I've hit huge build times, especially by kernel updates.

If you like living on the cutting edge version of packages, then just use Arch or any derived distro

It really seems you hit the fun

Gentoo? With 4GB of RAM? That sounds like a challenge!

I just run updates overnight and its never an issue. I'm also running Gentoo on my 5800X3D with 64GB RAM so compilation is generally fast.

Wtf, it made your TrackPoint disappear.

pretty spot on with the 'competent hardware' part. i've read some people automate those on their sleep just to offset the build times.

there's single letter argument versions on emerge, i think. the long ones are for the learning experience.

Who said that? That's a devious thing to tell someone.

So you picked the brunette?

As a guix user with custom package permutations, I feel your pain.

Roughly 8 hours ago, that means you might just now be struggling with a nw manager to get a LAN IP assigned, or worse, a wifi network logged in.

Do you have a gui yet?

Ohh it's that thinkpad netbook. I hated that thing when I got it as my first thinkpad, it's absurdly slow.

Gentoo on a Thinkpad? Why would you do yourself that?

Some arch+hyprland would be awesome on even this hardware.

bash.org is gone and I can't find a reliable way to search its replacements, but there was a quote on there that said something like "I love Gentoo. You can sit back and it'll look like you're a badass hacker but in reality you're just installing xchess or something."

bash.org is gone and I canโ€™t find a reliable way to search its replacements

https://bash-org-archive.com/

https://www.google.com/search?q=site%253Abash-org-archive.com+gentoo

That turns up four quotes with "gentoo".

The closest, I think, is:

https://bash-org-archive.com/?464385

<@insomnia> it only takes three commands to install Gentoo
<@insomnia> cfdisk /dev/hda && mkfs.xfs /dev/hda1 && mount /
dev/hda1 /mnt/gentoo/ && chroot /mnt/gentoo/ && env-update &&
. /etc/profile && emerge sync && cd /usr/portage && scripts/
bootsrap.sh && emerge system && emerge vim && vi /etc/fstab &&
emerge gentoo-dev-sources && cd /usr/src/linux && make
menuconfig && make install modules_install && emerge gnome
mozilla-firefox openoffice && emerge grub && cp /boot/grub/
grub.conf.sample /boot/grub/grub.conf && vi /boot/grub/
grub.conf && grub && init 6
<@insomnia> that's the first one

I don't know about Google's site coverage, but it turns up one test quote that I remember:

https://bash-org-archive.com/?5273

<erno> hm. I've lost a machine.. literally _lost_. it responds
to ping, it works completely, I just can't figure out where in
my apartment it is.

looks further

This is supposed to be the entire archive:

https://archive.org/details/bash.org.txt

Grabbing it and unpacking it gives me 21,096 text files, one for each bash.org quote.

$ grep -i gentoo * -l|wc -l
13
$

So Googlebot's index of bash-org-archive.com probably isn't complete; it got a quarter of the hits. However...

$ grep -C500 -i gentoo *

...doesn't appear to turn up anything that looks like your quote.

My guess is that you might have seen it on another site.

Your diligence is appreciated. I'm familiar with bash-org-archive and qdb.lol; the problem is searching them. I hadn't considered looking through them locally, but it's a good idea.

Admittedly I am fallible, so it isn't impossible I saw the quote elsewhere, but more likely I'm misremembering the quote referencing Gentoo. Perhaps it was about Arch or even just generally about compiling software. I'm pretty sure the quote referenced xchess, so perhaps that would be more helpful to grep.

Either way, thank you for making the effort to find it.

Someone forgot to setup distcc and ccache?

@MidsizedSedan using gentoo on thinkpad does not always mean building packages locally

Shoulda stuck with Linux Mint 22.1 Cinnamon edition.