forked from keepassxreboot/keepassxc
-
Notifications
You must be signed in to change notification settings - Fork 1
Set up Build Environment on OS X
onlykey edited this page Feb 12, 2019
·
3 revisions
Note: This is only a one-time setup guide. For actually building KeePassXC, please refer to our build guide.
Install Homebrew (it is the easiest way to install the required packages on macOS):
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
This command will install Cmake
Open a Terminal
brew install cmake
Then install the required libraries (zlib already exists on macOS Sierra so it is not needed to install it):
Open a Terminal:
brew install qt5 libgcrypt argon2 libyubikey ykpers qrencode libsodium wget
For OnlyKey and Yubikey support:
wget https://github.com/trustcrypto/yubikey-personalization/releases/download/v1.19.1/ykpers-1.19.1.tar.gz
tar xf ykpers-1.19.1.tar.gz
cd ykpers-1.19.1
autoreconf --install
./configure
make check install
Open a Terminal:
brew update && brew upgrade