this post was submitted on 03 Jun 2024
46 points (96.0% liked)

Linux

48328 readers
659 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
 

In order to be able to Further configure my system, I am looking for a fork of my current OS (artix with openRC as init system) in which i am able to compile every package from source in order to Further configure it with make flags. I am currently not using gentoo, and because the packages in its default repos are only updated when necessary, and the break-my-gentoo repo is more of a joke than an actual replacement for arch. However, if someone can recommand me a repo with similar package updates as arch, I would be looking at installing gentoo.

EDIT: Thank you for Pointing out to me that Gentoo can have newer Packages too. I did indeed not know this, and therefore just stamped off Gentoo as a stable rolling release distro. I will be looking at learning more about gentoo and eventually installing it, once I know how to use portage.

top 21 comments
sorted by: hot top controversial new old
[–] stewie3128@lemmy.ml 59 points 5 months ago* (last edited 5 months ago)

Gentoo. Not an Arch fork, and uses OpenRC by default. I use it and love it. Portage is the best package manager out there, imo.

You can still get binaries of the really annoying things to compile, like Firefox. Otherwise, it's all source-based.

I'd advise installing it in a VM or on a spare computer first to get your hands around what it is.

In your case, you'll want to specify the following flags in you makefile:

OpenRC, -systemd

You'll add a bunch of others in there too depending on architecture and personal priorities.

Follow the handbook. https://www.gentoo.org/get-started/

There's also Calculate Linux, which is basically Gentoo with a graphical front end, but I think it's Intel only. CLI is more fun anyway.

[–] riskable@programming.dev 41 points 5 months ago (2 children)

Just use Gentoo. Do it from scratch on the command line without the GUI installer like a pro 👍

At the very least you'll learn how everything works at a deeper level.

[–] Luffy879@lemmy.ml 5 points 5 months ago

That is indeed my plan, to learn more about Linux by using complex Distros and learning how to use it.

[–] shipwreckt@mastodon.online 2 points 5 months ago* (last edited 5 months ago) (1 children)

@riskable @Luffy879

I half agree with this I think maybe somebody should try arch first before using Gentoo because gentoo takes more time to compile

[–] Pallaxis@lemm.ee 1 points 5 months ago

Definitely agree, there’s going to be mess-up’s and your learning process will be significantly slower when you’ve gotta compile everything

[–] delirious_owl@discuss.online 37 points 5 months ago* (last edited 5 months ago) (1 children)

Not sure, but you can get a very similar experience with fork as follows:

Step 1. Download and install arch.

Step 2. Go to kitchen and grab fork.

Step 3. Jab fork into you eye ball socket

[–] bubstance@lemmy.sdf.org 25 points 5 months ago* (last edited 5 months ago) (1 children)

It sounds like Gentoo is literally exactly what you want.

I am currently not using gentoo, and because the packages in its default repos are only updated when necessary, and the break-my-gentoo repo is more of a joke than an actual replacement for arch.

I'm sorry, but I am genuinely confused here.

Gentoo can be both stable and bleeding edge and allows you to mix and match on a per-package basis.

Does setting ACCEPT_KEYWORDS="~amd64" globally not make things bleeding edge enough for you? Grab *-9999 packages instead.

[–] Luffy879@lemmy.ml 4 points 5 months ago

I did indeed not know that you can do such thing, thank you for pointing this out to me.

[–] TootSweet@lemmy.world 12 points 5 months ago

It kindof seems like what you're looking for is Gentoo. Any reason why you're reticent to go that direction?

[–] PoopBuffet@lemmy.world 11 points 5 months ago (1 children)

If you are looking for a distro similar to Arch where you can compile everything from source you can just use Arch. https://wiki.archlinux.org/title/Arch_build_system

Disclaimer: I have never used this feature so don't know how easy it is to use, but I do use Arch which is how I know it exists. (I use Arch btw)

[–] yardy_sardley@lemmy.ca 6 points 5 months ago

Fellow Arch user here (btw). It's exactly the same as building AUR packages. Clone a git repo containing a PKGBUILD, use makepkg to build it, and pacman to install it. The nice thing is you can host a repo of your built packages and install them on other systems really easily. The big downside is that dependency management is not automated, so it will take some time and annoyance to map out what packages you need to build and in what order, if you want a fully source-bootstrapped system.

[–] possiblylinux127@lemmy.zip 10 points 5 months ago (1 children)
[–] refalo@programming.dev 0 points 5 months ago

funroll-loops

[–] ada@lemmy.blahaj.zone 9 points 5 months ago* (last edited 5 months ago)

This is kinda the opposite of what you're asking for, but might address the reason that you're asking the question?

CachyOS is an Arch based distro, but it precompiles many arch packages (and some AUR packages) in several versions, optimised for either x86_64-v3 or x86_64-v4.

So if your goal is "optimised" rather than "compile yourself" it might be worth looking at

[–] WalnutLum@lemmy.ml 6 points 5 months ago

You could try Guix! It's ostensibly source based but you can use precompiled binaries as well (using the substitute system)

It's a source-first Functional package distro like Nix but uses Scheme to define everything from the packages to the way the init system (Shepherd) works.

It's very different from other distros but between being functional, source-first, and having shepherd, I personally love it

[–] leopold@lemmy.kde.social 5 points 5 months ago* (last edited 5 months ago) (1 children)

Most AUR packages that aren't postfixed with "-bin" are compiled on your system. Most distro packages have AUR counterparts, but they're usually git builds, so using them for every package you can will probably just break your system.

[–] Markaos@lemmy.one 6 points 5 months ago

Also, the Arch repos are pretty much just an "AUR with binaries" - they contain the same PKGBUILD files used by AUR packages, because that's how Arch packages are built. So you can just download an Arch package PKGBUILD, modify it however you wish, and then build and install it.

[–] pruneaue@infosec.pub 4 points 5 months ago

Does sound like what youre looking for is gentoo. Packages may be a little older than arch, but its a rolling release too. You get new stuff fast

[–] refalo@programming.dev 1 points 5 months ago

I wish more distros gave instructions for actually building the entire distro from source like this.

[–] REdOG@lemmy.world 1 points 5 months ago

Im a huge gentoo nerd but recently have found https://nixos.org/ to be quite satisfying as well.