

Here are the packages that I downloaded: curl -L -o pkg-config-0.29.2.tar.gz It’s possible to download and compile each package individually, but I find it much easier to stage all the downloads, verify signatures, extract files, etc. export BUILD="aarch64-apple-darwin20.1.0"

I set the following environment variable to make compiling a bit easier. export PREFIX="/Users/corybuecker/tools"Īlso, many of these packages have been updated to work on Apple Silicon, but they don’t always detect the correct architecture.

Setting the tools directory as an environment variable will make the following steps easier. The developer tools should would work just fine. I have installed Xcode 12.2 rather than the developer tools. I have my PATH configured as: export PATH="/Users/corybuecker/tools/bin:$PATH" Rather, I have a folder called tools in my home directory. On a Mac, I don’t install programs and libraries into the usr folder. At the time I wrote this, Homebrew support for GnuPG on Apple Silicon was still being completed and certified. Homebrew is an excellent package manager run by dedicated contributors. These instructions are not meant to be a substitute for Homebrew. But, there are many individual dependencies and this post breaks them down. Cory Buecker GitHub LinkedIn Compiling GnuPG (GPG) from source on Apple Silicon with Big SurĬompiling a program like GnuPG (GPG) from source is not difficult.
