Transferring Port Across Systems

Joshua Root jmr at macports.org
Tue Jan 14 00:12:45 UTC 2025


Anthony M. Agelastos wrote:

> I have 2 macOS systems on ARM64. There are some Ports I'm able to build
> on System A that I cannot on System B. I would like to transfer the
> build from A to B. This doesn't happen often and is only for a few
> Ports. So, setting up a binary mirror and all of that is significantly
> more work than I'd like to do. One thing that /*appeared*/ to work,
> e.g., for Port "librsvg", was the following:
>
> # System A
> sudo port install librsvg
> cd /opt/local/var/macports/software/librsvg/librsvg-2.58.5_0.darwin_24.arm64
> sudo tar cjf /path/to/librsvg-2.58.5_0.darwin_24.arm64.tbz2 ./
> scp /path/to/librsvg-2.58.5_0.darwin_24.arm64.tbz2 SystemB:~/
>
> # System B
> cd /opt/local/var/macports/incoming/verified
> sudo cp ~/librsvg-2.58.5_0.darwin_24.arm64.tbz2
> sudo port install librsvg
>
> Is this the best way of doing it on an ad-hoc basis?
Yes, that should work. This is roughly what happens on the buildbot and 
the client system in normal operation, minus the signing and 
verification of course.

- Josh



More information about the macports-users mailing list