/gg/ - gentoo general

gentoo.org
Quick Install: wiki.gentoo.org/wiki/Quick_Installation_Checklist
Quicker Install: chiru.no/u/installgentoo.txt
Prebuilt Gentoo image and binhost: ca.cloveros.ga
Packages: packages.gentoo.org
FAQ: gitgud.io/cloveros/cloveros/blob/master/FAQ.md
IRC: #gentoo on irc.freenode.net | #cloveros on irc.rizon.net (all questions or help welcome)

Come here for help or general questions, post your configuration, discuss packages or overlays, CloverOS, post your desktop, anything else Gentoo, etc. Newfags welcome.

Previous thread:

Attached: 1308185377591s.jpg (187x250, 5K)

Other urls found in this thread:

wiki.archlinux.org/index.php/Security
github.com/netblue30/firejail/blob/master/etc/mpv.profile
github.com/gentoo/gentoo/pull/8207/
github.com/InBetweenNames/gentooLTO
twitter.com/NSFWRedditVideo

Install Solus

EMERGE_DEFAULT_OPTS="--ask --ask-enter-invalid --verbose --quiet-build --fuzzy-search=n"

I wish Gentoo dropped python for the package manager.

Based and red pilled. Post your use flags and cflags.

Attached: 1539528238138.webm (464x848, 425K)

-O3 -march=native -pipe -funroll-loops -floop-block -floop-interchange -floop-strip-mine -ftree-loop-distribution

Oh god, I wish that was me.

Attached: anime girl I will cum.jpg (591x722, 115K)

Just installed KDE 5.11>-funroll-loops -floop-block -floop-interchange -floop-strip-mine -ftree-loop-distribution

Attached: Max Resdefault with his car.jpg (1920x1080, 563K)

too epic for you?

>-funroll-loops
I am not sure about that, is it really that worth it? Because I believe it depends on your processor, pic related.

Attached: funroll doesnt werk.png (945x633, 76K)

Tell me something: why can't you just fucking neck yourself?

Aren't you a windows fag Yilya?

I use Windows 7, Debian and CentOS across my PCs.

No thanks, Kevin

Why are you in a Gentoo thread?
This thread is a serious thread focussing on the Gentoo distribution with it's Flags and Cflags

Attached: 1539655894.png (514x218, 4K)

Ok, I'll leave :(

Anyone switched to anything other than GCC? What are your experiences with it.

Why is portage so perfect?

Attached: 15414171.200000001_togif.gif (320x240, 3.25M)

>switched to anything other than GCC
>experiences with it
Pain and misery?

Does anyone use Distcc?
Is it a good idea?

why should i choose gentoo?
i don't see much sense in compiling each and every packet from source and i can still do it on the distro of my choice if i find it disireable / necessary.

Optimized distribution, also learning experience.

optimized for what?
stability? performance? security?

optimization, stability, can even be bleeding edge without the bleeding part. Also portage is a really wonderful package manager

all three if you use hardened

All of the above? You can make it whatever you want, there is a "hardened" gentoo you know?

why no installer tho?

Isn't that what CloverOS is?

i really like my arch but you convinced me i'll give it try.

didn't expect otherewise,
i'm running arch hardened right now.

don't expect a 'quick' install. be sure to visit the gentoo irc and forums if you encounter problems. welcome aboard

You can use windows 10's WSL to install gentoo

really hope someone can one day write a more
complete hardened install guide, or some kind of step by step. I mostly only use gentoo because of portage, and I would like to give hardened a try but it seems really difficult

>cloveros
why no wikipedia page tho?

> i don't see much sense in compiling each and every packet from source
This is probably correct if you're never applying patches, never compiling older version, never using alternative libs [e.g. libav rather than ffmpeg, libedit rather than readline, libcpp rather than glibc++, libressl rather than openssl...].

But even then portage is still a nice package manager, Gentoo rolls along nicely, configuration management is sane and easy, the distro maintainers got a good bunch of common sense... there are some advantages to Gentoo even then.

And if you're using a reasonably modern CPU and a SSD, compiles [save for a select few browsers that tend to have -bin versions] don't actually take long.

i dont used closed-source non-free proprietary botnet adware malware spyware operating systems, sorry

Why ask? You can make one if you care.

Sabayon, CloverOS and I think Calculate at least offer this.

There are some alternatives, I don't know if they are written in python of what else but they are supposed to be better and faster. Portage is praised for no reasons.
I don't know if they are stable enough to be used on your main pc.

thanks for the warning, but i'm used to arch so i'll see it as a challenge.

The wiki explicitly advises against that.

their website seems incomplete...
anyone audit cloveros? nothing weird?

I would suggest AGAINST this, myself. Yes, it has its place, but for most uses deploying full SELinux is so very cumbersome to administrate and use.

Try firejail instead. You're far more likely to be able to get good results and maintain a good degree of usability with that.

Alternatively, learn rkt/docker and/or use kvm virtualization. Or apparmor. They also provide isolation.

The difference? You can understand what firejail is doing pretty quickly and keep your stuff working. SELinux takes so fucking long to set up and learn, and before you're done perfecting it you'll have a lot of things everywhere that just don't work right... even then, things may break on updates. A lot.

Install pentoo hardened

the arch linux wiki has a security guide,
wiki.archlinux.org/index.php/Security
i think you're on the best way to a secure and still useable system if you follow it through.

tried Sabayon once, it absolutely sucked

>without the bleeding part
and without the updates too.

My nigga, I bow to you, words of truth were spoken. SELinux is far for being secure thanks to its complexity.

Yea, paludis [recently they became disinterested in supporting Gentoo, it's now more or less exherbo only] and pkgcore.

Paludis was something that I used to get more control - it is NOT that much faster than current portage.

> Portage is praised for no reasons.
You're wrong about that. It does remarkable things overall [especially given the many shitty build systems software works with - it compensates for just about all of them in one or another way, even if it still requires scripting stuff], and they put a whole lot of effort into improving it.

Attached: file.png (672x307, 49K)

Been using it for about eight years on one machine and got a VM going for like four years [that I actually use to compensate for software that is absent on Windows 10]. It is just fine IMO.

Why did it suck for you?

It just werks, including upgrades
As long as you use stable packages for anything important

it included some seriously botnet software. when I tried to remove it, it wanted to remove the entire system with it

wiki should only be considered as a general guideline, not the ultimate authority of what is good and what is not

At least if you're not a SELinux guru. And meanwhile, it gets in YOUR way almost for sure. That thing is so fucking complex to deal with...

Meanwhile, firejail does everything pretty easily. Example, the profile for mpv:
github.com/netblue30/firejail/blob/master/etc/mpv.profile

You do get most of what it does, right? Most of what you want to do is probably white/blacklist paths and Linux subsystems... and this makes it easy.

> it included some seriously botnet software.
I don't know what you'd be referring to.

> when I tried to remove it, it wanted to remove the entire system with it
Even if something has fixed dependencies on the equo side due to compile-time choices, you can manipulate these with portage.

I'm not entirely happy with gentoo, not gonna lie.

>april 30, the fix is ready and good
>october 17, the bug is still open and the ebuild in the repo is still broken
Why stuff like this github.com/gentoo/gentoo/pull/8207/ takes so long to be merged?

Lack of autists, they all switched to arch
Which is both good and bad

Maintainers aren't always fast.

Nothing stops you from deploying the fixed ebuild to your local overlay and using it, though. You can report that it's good or bad in the process of doing so.

>I wish Gentoo dropped python for the package manager.
Guix

I once put all the packages that I needed, compiled chrome, I remember on the second-generation Intel, it took about 15 hours, configured the kernel, removed all unnecessary, and absolutely happy. Booting the system with the coreboot firmware I have about 2 seconds. + bspwm. The system is stable and very fast for about 5 years on a thinkpad.

Attached: gentoo-man.png (560x546, 208K)

Exherbo is closer. Both have an issue with not really having enough packages for most people, though I'd say it's also easier to adapt Gentoo syntax ebuilds to Exherbo.

They have nothing to do, the fix is right there! In six months and all they had to do is to delete the old ebuilds and bring the new one in. They didn't.
Of course I have my own overlay, but for fuck sake what's the problem in merging something like that. Those ebuilds are few lines of code and they were written and verified by someone else.

Jesus, there is no excuse to take more than a week to merge that shit. You need maybe a whole minute of your life to do it, but no... six month and it is still broken.

I thought the github was just a mirror where you can't merge shit

Thoughts on funtoo?

>Of course I have my own overlay, but for fuck sake what's the problem in merging something like that.
I'm going to guess the theoretical maintainer is absent and/or doesn't care much about that package.

You could offer to take over maintainership for this if you got time.

It's a variant on Gentoo, made a select few choices differently - the vast majority of which you can also make by using some configuration on Gentoo.

Funtoo is much less different than Exherbo which overhauled the ebuild syntax and more. It's actually probably less different than CloverOS, and CloverOS is only configuration, a few scripts, and a repository of binaries.

are there gentoo install scripts to install pure gentoo?

The whole point is that you install everything yourself, the way you want it. If you're not willing to do that, it's not for you.

Someone condensed the commands from the handbook into some pastebin or such, but really, the handbook has the explanations required.

That said, it's not like CloverOS or Sabayon are not "pure" Gentoo in most ways. Basically, you can pretend it was an old installation of yours, reconfigure portage to match what you need now, and just "emerge -uNDv @world" it all.

you could always write your own desu

Linux noob here, I fell for the meme. Trying to install right now with LVM on LUKS. The LVM commands spit this out:

livecd~# pvcreate /dev/mapper/gentoo
/run/lvm/lvmetad.socket: connect failed: Nosuch file or directory
WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
Physical volume "/dev/mapper/gentoo" successfully created.
What does this mean? Should I be worried?

(And of course emerge --depclean to get rid of what you removed from the world file).

After that there isn't really any noteworthy difference to a fresh install. Sure, some leftover files in /etc, but it's normal that Gentoo doesn't uninstall configs there.

what if the defaults are fine?

"lvdisplay" in the same root shell.

If it lists your volume, it's fine. You can use lvm without lvmetad.

There are no defaults, you define the defaults.

There are no defaults for the partition layout, whether or not to put everything on LVM, which gentoo profile you use... and so on.

i guess!

>I'm going to guess the theoretical maintainer is absent and/or doesn't care much about that package.
And this is totally acceptable...
I don't want to became a maintainer, but I'm expecting them to do at least the bare minimum: merging what is already done by someone else.
I know it's difficult to maintain java, pandoc and stuff like this... but c'mon, those zathura's ebuilds are a joke of maybe 15 lines of code each.

Does it matter? There is a bug open in multiple places (two on github and one in bugs.gentoo.org), they guy has done all the work and he even bumped his request multiple times. What he had to do to catch maintainers attention?

Yeah the partitions seem to get created. I'm just getting spammed with this warning every time I enter a LVM related command.

Feel free to run "systemctl start lvm2-lvmetad.service" (systemd) or "/etc/init.d/lvmetad start" (openrc).

Though its maybe not worth bothering if you're still in live mode.

-O3 and -funroll-loops almost never make code faster in practice, due to the larger binary size and hence increases cache misses.
LTO, on the other hand, often reduces binary size in my experience without losing performance, therefore I recommend using it whenever possible. Be careful, however, since your programs will take longer to compile.

Attached: ad51fc0cd7bbbb29a778b6f8f609f0a1402a7705aaed0df1c370b053c2c42ce9.webm (464x848, 919K)

Every other distro has a cute mascot and we have this ugly fucking "G". WORST LOGO EVER

Attached: 11189021.jpg (2025x2877, 652K)

shut the fuck up bitch

Attached: 14542386.png (460x460, 31K)

Thanks, will check it out. Though about "still" being in live mode, I literally just started.

you can still use rc-service for that kinda thing

How about you propose the fix on their bugzilla instead? I myself submitted a couple of patches there and they got accepted after just a few days.
Pic related is from one of their IRC channels.

Attached: gentoohatesgithub.png (682x234, 12K)

how does one use LTO?

He already did it.

Add these flags in an enviroment, assuming you're using gcc as the default compiler:
AR="gcc-ar"
NM="gcc-nm"
RANLIB="gcc-ranlib"
CFLAGS="${CFLAGS} -flto -Wl,-flto -fuse-linker-plugin"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-flto -fuse-linker-plugin"


You can use more jobs when using LTO using something like -flto=8, but quite a few packages in my experience fail to build using more than one job, for example Firefox.

Check out also: github.com/InBetweenNames/gentooLTO

>shilling cloveros
the site is fizzbuzz incarnate, the installer is barely functional when that's the entire purpose of the "distro", there's only 2 autists on this entire site using it and would you really trust Jow Forums with prebuilt binaries?

Attached: yotsuba-wallpaper-13.jpg (710x423, 149K)

i just copy-pasted from the last general sowwy :(

put calculate into it instead, at least its made by based russians and actually works

i will, thanks user!

>BEST LOGO EVER
ftfy

Attached: 1529829957195.png (615x615, 98K)

wait, so, am I able to set O2 mtune and march with this? or only mtune and march?

>How about you propose the fix on their bugzilla instead?
That bug and that solution is reported on their bugzilla too. No replies in 5 months.
Okay, maybe zathura is not *that* popular but it's not even such an obscure piece of software.

Even worse is the situation about Java. Everything there is basically unmaintained, jdk stable is 3 major version behind and jdk testing (~arch) is not updated within 2 years. There is a pretty solid overlay with plenty of updated ebuilds, but for some stupid reasons its maintainer was banned on Gentoo mailing list. Now its overlay is basically already able to replace most of dev-java/ packages with java 11 and many way newer packages. He'd like to see his stuff merged in the official repo, but they refuse to even talk with him and of course they rather have everything old and crappy than copying his stuff.

jdk is a fucking huge and important piece of software, you can't keep it not updated for more than 2 years on such an important distro.

>Even worse is the situation about Java. Everything there is basically unmaintained, jdk stable is 3 major version behind and jdk testing (~arch) is not updated within 2 years.

Is it though?
I mean JRE for legacy shit but who still writes shit in JAVA?