Installing Alpine for MacOS
Follow the steps below to install a local client of Alpine on your MacOS machine.
Download latest alpine.tar.xz file
Unzip with command: tar -Jxf filenamehere
For example, if your file is alpine-2.24.tar.xz, you would use the command: tar -Jxf alpine-2.24.tar.xz
cd into unzipped directory
Make sure OpenSSL version 1.0.0c or later is installed on your system, or the most recent version of LibreSSL.
To check which version of OpenSSL you have, run the command: openssl version
Type this entire command: ./configure ; make
Type this command: make install
NOTE: During the installation, if you get an error stating:
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
/usr/local/etc/openssl@1.1/certs
and run
/usr/local/opt/openssl@1.1/bin/c_rehash
openssl@1.1 is keg-only, which means it was not symlinked into /usr/local,
because macOS provides LibreSSL.
If you need to have openssl@1.1 first in your PATH run:
echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> /Users/yourmacusername/.bash_profile
For compilers to find openssl@1.1 you may need to set:
export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"
Run the command: echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> /Users/yourmacusername/.bash_profileReplace yourmacusername with your user directory's name on your MacOS machine.
To start Alpine, run the command: alpine