Making arch more "gentoo-like" (hear me out)
So hear me out. I love arch, but I just want to compile some packages (like the kernel) for optimizations and the such. I know there are PKGBUILDs that are provided that are used to build the official repos. Is there some way to "prefer" building these packages over installing from the official repos?
Another thing: I have many custom repos installed, but I want to compile fish-git, when I do so and there is an update, it prefers the binary provided by one of the custom repos that I have added.
About this post
- Posted
- Archived
- Score
- 0 · 43% up
- Kind
- Text
- ID
- ht20dt
21 comments
actually there is
you need some little "hacky" workaround however
repositories listed in the pacman config above other repositories will have priority
building the packages beforehand and hosting them either on your own server or locally would probably do the trick, aurutils seems to be a popular choice for this scenario
though I don't really get the idea, Gentoo has some binaries available too and is better suited for many custom compiled packages
Thanks for the info!
Yeah but from this I get he just wants the kernel and a few others, gentoo is lacking in binaries, so arch may be better
That sounds horrible. Why do you need all this? Genuinely curious :-)
What I really mean is that is there a way to prefer compiling some packages over others?
Don't install them with pacman and manage them yourself.
You'd probably be better off going with gentoo and binary packages though. Or sticking with your bedrock Linux thing. Arch was always designed as a binary-based distro. You're trying to shoehorn it where it doesn't fit.
I don't want to use gentoo 100%, I do use bedrock linux w/ an arch linux stratum as my main stratum. I just want a middle ground in between the 2 sides.
Deleted before we saved it.
Have you considered Sabayon? It's essentially binary Gentoo, so you still have access to portage and all their good stuff. You should be able to get what you want exactly with it, rather than some hacky or labor intensive work over an exclusively binary distro like Arch.
I'll look into that! Thanks!
How are sabayons binary mirrors? Are they slow, do they have a lot of packages
Arch has makepkg for compiling packages. You just need to integrate it in your workflow; here is a good guide to get you started.
The way arch is structured is more towards binary package distributions. Gentoo is so much more powerful when it comes to compiling a lot of packages. I really suggest just switching to gentoo for it.
You can maintain your own kernel package with a different name: https://wiki.archlinux.org/index.php/Kernel/Arch_Build_System#Modifying_the_PKGBUILD.