Skip to content

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.

0 points20 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 43% up
Kind
Text
ID
ht20dt

Author

2
posts
38
comments
0
media
View profile

21 comments

Is there some way to "prefer" building these packages over installing from the official repos?

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

8 points

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

1 points

That sounds horrible. Why do you need all this? Genuinely curious :-)

4 points

What I really mean is that is there a way to prefer compiling some packages over others?

-1 points

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.

5 points

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.

-3 points

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.

3 points

How are sabayons binary mirrors? Are they slow, do they have a lot of packages

1 points
unknown author

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.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.