Install necessary packages
First install Homebrew in case you do not already have it. We will use this to install the other required packages.
/usr/bin/ruby -e "$( curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install the following packages using Homebrew:
brew install autoconf automake bash bison ccache cmake \ coreutils flex gnu-tar icu4c libtool maven \ ninja pkg-config pstree wget zlib [email protected]
Note on bashYugabyteDB build scripts rely on Bash 4. Make sure that which bash outputs
/usr/local/bin/bashbefore proceeding. You may need to put
/usr/local/binas the first directory on PATH in your
~/.bashrcto achieve that.