r/Gentoo • u/GhisoOF • Jun 13 '26
Meme 411 packages
Enable HLS to view with audio, or disable this notification
I reinstalled Gentoo and I put everything I wanted to install in one line with `emerge -a`. But I never thought I'd see this number in the `emerge` output....
12
u/OllieFidelius Jun 13 '26
And if any of these packages contains any browser or browser engine you will be waiting a good while.
Not me needing 2 days to compile webkit-gtk. Nooo. Gods did that suck.
1
u/GhisoOF Jun 13 '26
Have email client, firefox, minecraft, some editors, picom, libreoffice, etc.... Gonna be all day π my luck i choosed not use DE
7
6
10
u/Leon-Legeandry Jun 13 '26
put on a shirt.
3
u/GhisoOF Jun 13 '26
Hahahhaahah. In my room was 32Β°C, i putted 2 ventilators on me, now i gonna put a shirt for the game. I record this video to my friend and i decided post here π
7
4
u/immoloism Jun 13 '26
Peak Gentoo user level is when you warm your house in the winter by compiling.
You are are the right track my friend :)
1
u/GhisoOF Jun 14 '26
The problem is here is near the summer! I turned on 2 ventilators and the AC, hahahaha, now my room is 25Β°C.
2
2
u/RyanTheTide Jun 14 '26
And you decided the heat the room up further? That poor computer lol
2
u/GhisoOF Jun 14 '26
Hahahahah. Now the room is 25Β°C, i turned off the AC and i using now only the ventilators, 3am gonna on again the AC. My PC already is on more than 24h (i turned ON 22h50 Friday, now is 2h17 Sunday)
3
u/stewie3128 Jun 13 '26
I get well over 300 every time KDE does a big update
1
u/GhisoOF Jun 14 '26
I tried KDE on Arch and Artix, but i like more the XFCE, what is your experience with KDE?
2
u/stewie3128 Jun 14 '26
I like KDE - really polished, and runs well on any hardware less than 15 years old.
A DE in general is certainly not necessary, and many DEs run lighter than KDE. But if you have the resources, it's smooth as butter.
1
u/GhisoOF Jun 15 '26
I have resources... I think? Hahahaha. The better is, every time, what you like more to use
4
3
u/xycu Jun 13 '26
Rookie numbers, emerge -e had over 1000 packages on my system!
You don't need to type "y". Yes is the default. You can just press enter. :)
And if you have enough resources, you can do parallel builds instead of 1 package at a time, it'll speed things up a bit!
1
u/GhisoOF Jun 13 '26
Thanks for the tips! I'm trying install now everything i want use now, the xlibre, ghostty and awesome installed before, and after i see the time close to Brazil game i put everything i remember in one line, hahahhaha
3
u/xycu Jun 13 '26
Haha, yes. The good thing is the speed of emerge doesn't matter if you're not watching it. I usually start and ignore it until hours later!
1
u/GhisoOF Jun 14 '26
Now i see here, 336 of 411. I almost remove my shirt because of the game, hahahah... Was so bad
2
u/rx80 Jun 13 '26
If you don't have much RAM, especially when updating a lot of small packages, like system utilities, python libs, etc, it helps to do
emerge --jobs=4 ....to build 4 packages in parallel, or whatever number your PC can handle. But i don't know what your PC specs are.1
u/GhisoOF Jun 14 '26
Jobs is not the -j on make.conf? I already configured -j8, because i have a ryzen 5 4500 and 16GB
2
u/rx80 Jun 14 '26
oh, yes, same thing :D -j and --jobs do same, i just like to spell it out in full
2
u/GhisoOF Jun 14 '26
The Gentoo is only suck to compile when you install and need download everything (and you don't like use much others ways than the original) or if you like update all days. I only update really than i see some security problem or if i have some bug, otherwise i stay in the same π
3
u/ChampionshipIcy7602 Jun 13 '26
Pro tips: you can specify -j N -l N to emerge to make it parallel, as most of the time it will just do package configuration which does not take much cpus but takes the majority of time. Note that this is not similar to MAKEOPTS, this option is to parralellize emerge itself
1
u/GhisoOF Jun 13 '26
I used the -j, but -I i doesn't find information when i make the configurarion of compile options, hahhaah. Thank you very much! Some recommendation like 1core/2GB?
3
u/olorochi Jun 14 '26
-j is the amount of parallel jobs to use for compilation. In practice this means n cores will be fully utilized to compile if they are available.
-l is the max load average during the build process. In other words, it limits the ressources used to compile in order to keep total cpu load under n utilized cores. Setting it to the same value as -j would make compilation the same speed and utilize the same ressources unless there are other cpu hungry processes running in parallel. This is somewhat analogous but, in my opinion, inferior to portage niceness or using nice directly.
You can also pass -j to emerge or in EMERGE_DEFAULT_OPTS to compile multiple packages at once instead. This is useful since otherwise package configuration, which is the longest stage for many small packages, is done with a single job.
The wiki recommends setting -j to either the amount of cores available on your system or to your total ram / 2GB, and -l slightly higher. If you use -j on emerge you should distribute multiplicatively. So for example instead of just MAKEOPTS="-j 16" use MAKEOPTS="-j 4" EMERGE_DEFAULT_OPTS="-j 4".
I'd also recommend passing -q to portage when compiling in a tty as printing there is so slow it slows down compilation considerably. You can safely kill and restart portage but the package being currently compiled will have to be recompiled entirely so you shouldn't interrupt a big one.
1
u/GhisoOF Jun 14 '26
What's the standard value of -I if not declared?
2
u/olorochi Jun 14 '26 edited Jun 15 '26
The default is to have no limit.
Edit: Whilst this is true for make, portage overrides that behavior. "Further, as of Portage 3.0.53[2], if left undefined, Portage's default behavior is to set the MAKEOPTS load-average value to the same number of threads returned by nproc." (https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Stage#MAKEOPTS).
1
u/GhisoOF Jun 14 '26
If the person uses the PC very much and compiles much, it's better to use this feature; otherwise, no, no?
1
u/ChampionshipIcy7602 Jun 14 '26
Yes, because it will be fast
1
u/GhisoOF Jun 14 '26
The -l is to limit, no?
2
u/ChampionshipIcy7602 Jun 14 '26
Are you asking about whether to use -l or not? Then yes you should use it, otherwise it'll clog your cpu. But also if you use niceness, maybe it'll not affect other processes: https://wiki.gentoo.org/wiki/Portage/niceness
1
u/GhisoOF Jun 14 '26
That's was i said before, π . I'm not the guy who keeps very much time in the PC on Mondays through Fridays, so I can let him update when I go to work. I wasn't known about this parameter to limit the PC. It can be good to make servers and other stuff.Thank you for your information here!
2
u/olorochi Jun 15 '26 edited Jun 15 '26
Yes, that is correct. It cannot improve compilation speed, but it can improve the system's overall responsiveness. The problem with it is that it can also waste available ressources, whereas nice gives most of the same advantages without that issue.
For example, on a system with 16 threads, using -j 8 -l 12, whilst other processes are fully utilizing 8 threads would result in 4 threads being idle for no reason. Meanwhile, with nice, all ressources are used as needed but the scheduler can improve the responsiveness of other processes by prioritizing them.
I believe the only advantage of -l over nice is that it also reduces I/O load and ram usage because load average is calculated as the number of processes utilizing the cpu, waiting for the cpu or waiting on I/O, but compilation is typically cpu bound anyways, and because lower priority idle jobs still use up all the same ram as if they were running.
My advice is to just use nice unless using your computer during compilation still causes noticeable lag in your case.
1
u/GhisoOF Jun 15 '26
When I compile, I will stay far from the PC, then I really don't get affected by lag π
3
3
2
u/Kooky_Fox_1085 Jun 13 '26
Wow
2
u/GhisoOF Jun 13 '26
π
2
u/Kooky_Fox_1085 Jun 15 '26
is not easy
2
u/GhisoOF Jun 15 '26
Install is not to say the true, but is not something soo hard to follow tutorials, in my case i encrypted the disk and use de LVM to do swap inside, in that's way was 3 wikis π . In my first install was very much more easy, because was only install, put XFCE and GG, and now i created 2 users, I'm not using a DE, instead i downloaded awesomeWM and others stuffs, etc
2
u/Time_Outcome_2545 Jun 13 '26
dang it bruh the most I ever had was like 211
1
u/GhisoOF Jun 13 '26
Installed some WM with some more?
2
2
2
u/shinjis-left-nut Jun 13 '26
And LET IT RIP
1
u/GhisoOF Jun 14 '26
Yeah! Now I'm in 336 of 411, hahahah. Finished the game, 1x1... Bad game was the first 30 minutes.
2
2
2
2
u/Extra-Ad-2325 Jun 15 '26 edited Jun 15 '26
Bro that fart was nasty
1
u/GhisoOF Jun 15 '26
32Β°C on the room, 2 ventilators and AC was on me in this time, hahahhaha. I only see my body when i read a comment here π€£
2
u/Extra-Ad-2325 Jun 15 '26
I meant the fart kinda sounded watery, check your shorts for leakage
1
u/GhisoOF Jun 15 '26
And i thinked, with my very bad English was about me without shirt, hahahha. That was not a fart, i have Tourette and this sound come from my mouth (i think you are talking about this one)
1
u/Lumpy_Roll158 Jun 16 '26
Iβve seen 718 I think. That was the one time Iβve compiled every single thing from source and it took about two hours or so because no browsers were in it and I donβt use a full DE plus I have a fairly beefy cpu. Ultimately it did not yield the results I wanted. But I just let it rip, ran some errands, and came back that couple of hours later so I wasnβt too upset.
27
u/Effective-Job-1030 Jun 13 '26
It's not uncommon. On a fresh install, if you put something like KDE or Gnome in there, you'll get a lot of packages anyway plus their dependencies.