You are not logged in.
Hello, I recently got a new PC that has 24 threads, so much it doesn't even use most of them when compiling, and it is so fast compared to my laptop.
So, my thought was that I could compile it all on my PC, and then somehow normally install it on the laptop with pacman.
For normal pacman stuff I can just use a read-only shared pacman cache, and add the cacheserver line in pacman.conf.
But this doesn't work for AUR packages, so I guess I'm stuck with a pacman repo.
I wasn't even able to find the instructions for making a normal pacman repo anywhere, guess I didn't try hard enough though.
Is there any way to manage this with a AUR helper (preferably paru), or otherwise? I'm pretty sure I'm not the only one with this problem.
It doesn't need to be as robust as the shared pacman cache mentioned above, I'm totally fine with updating only when I'm at home.
- J Luke
Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...
Offline
You could make your own repo, and it's not hard, but even that's probably overkill for this.
Just build the packages on the pc, and put the resulting .pkg.tar.xz .pkg.tar.zst files on shared storage (makepkg can be configured with a destination to even automate this part). Then from the laptop you'd just use pacman -U to install those packages, e.g. `pacman -U /path/to/pkgs/*.zst`
EDIT: yup, zst is the default now, sorry.
Last edited by Trilby (2024-10-31 01:27:01)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
@Trilby
isn't it .pkg.tar.zstd, is it?
Offline
it's either (although zst, not zstd), depending on how you set it in makepkg.conf. .zst is default now, .xz is an older default.
Offline
You could make your own repo, and it's not hard, but even that's probably overkill for this.
Well the advantage would be that I can just "pacman -Syu". Is there even a official guide?
Just build the packages on the pc, and put the resulting .pkg.tar.xz .pkg.tar.zst files on shared storage (makepkg can be configured with a destination to even automate this part). Then from the laptop you'd just use pacman -U to install those packages, e.g. `pacman -U /path/to/pkgs/*.zst`
I already store files in a single directory. For the pacman command I'd add a "--needed" to ignore already up-to-date files. What Fileserver would be apppropriate? A http one like the cacheserver or will a rsync one have advantages?
Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...
Offline
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline