is there an arch Fork where I can compile every package myself?
from Luffy879@lemmy.ml to linux@lemmy.ml on 03 Jun 13:42
https://lemmy.ml/post/16421766

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.

#linux

threaded - newest

TootSweet@lemmy.world on 03 Jun 13:55 next collapse

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

stewie3128@lemmy.ml on 03 Jun 13:57 next collapse

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. 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 on 03 Jun 13:57 next collapse

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.

shipwreckt@mastodon.online on 03 Jun 14:08 next collapse

@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 on 06 Jun 02:55 collapse

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

Luffy879@lemmy.ml on 03 Jun 15:03 collapse

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

pruneaue@infosec.pub on 03 Jun 14:35 next collapse

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

bubstance@lemmy.sdf.org on 03 Jun 14:38 next collapse

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 on 03 Jun 15:04 collapse

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

PoopBuffet@lemmy.world on 03 Jun 14:42 next collapse

If you are looking for a distro similar to Arch where you can compile everything from source you can just use Arch. 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 on 03 Jun 22:19 collapse

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.

WalnutLum@lemmy.ml on 03 Jun 14:49 next collapse

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

possiblylinux127@lemmy.zip on 03 Jun 14:51 next collapse

Whats wrong with Gentoo?

refalo@programming.dev on 04 Jun 00:19 collapse

funroll-loops

delirious_owl@discuss.online on 03 Jun 15:41 next collapse

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

NeoNachtwaechter@lemmy.world on 03 Jun 15:55 collapse

“Awwww”

REdOG@lemmy.world on 03 Jun 21:26 next collapse

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

refalo@programming.dev on 04 Jun 00:20 next collapse

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

ada@lemmy.blahaj.zone on 04 Jun 00:49 next collapse

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

leopold@lemmy.kde.social on 04 Jun 04:10 collapse

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 on 04 Jun 08:42 collapse

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.