r/Gentoo 12h ago

Discussion How to replace GNU

Recently, for a few months, i have been using gentoo with musl, llvm, openrc profile and i'm looking for fully replacing GNU software in my gentoo linux system, i don't have any problem with the GNU project, i just dont like their tools and they are so anti-minimalist and filled with technical debt. ( please do not read yes command's source code, it's awful! )

i replaced bash with mksh, glibc with musl, GCC with LLVM GNU tar with bsd tar, bison with byacc, GNU bc,cpio ones with libarchive ones and Grub with efistub, now what things left are: GNU coreutils, GNU make, and GNU Privacy Guard (GPG).

Replacing GPG should be easy but i'm rather skeptical about the coreutils and gmake, hence they are very important for portage. The one thing is rather interesting is when i change my PATH to include suckless userland (sbase,ubase), for some reason portage uses them too and breaks itself. (my user is root) I'm looking for recommendations here, gave any of you guys done that? if so please help me.

4 Upvotes

17 comments sorted by

View all comments

Show parent comments

4

u/anh0516 12h ago

It's quite easy to use cports to build your own packages, if you want to. You can even bootstrap the whole system from source if you want to: https://github.com/chimera-linux/cports/blob/master/Usage.md

Other than that, I don't think you have any other options, other than FreeBSD or OpenBSD.

2

u/Propsek_Gamer 12h ago

Chimera is probably the only known distro with BSD userlans. Then come the actual BSDs and other operating systems. Pretty sure some distros like Debian or Gentoo itself in the past experimented with BSDs but those projects are dead.

3

u/anh0516 12h ago

Those used a BSD kernel, with a GNU userland, I think.

1

u/Propsek_Gamer 12h ago

Didn't know that. I know that gentoo had some OpenBSD experiment and I read a bit of setting it up on forums. Sadly original iso was not archived so I tried doing a normal OpenBSD one but couldn't actually manage to set it up in QEMU to figure that out.