Mac OS

Most libraries on Mac are installed using Homebrew.

Make sure Homebrew ist installed in order to install most of these.

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Git

Checking:

git --version

If you get any successful output, you probably don’t need to do anything.

In order to install it, please execute the following command:

brew install git

LibPCAP

gcc

Checking:

gcc --version

If you get any successful output, you probably don’t need to do anything.

It seems macOS comes with a version of gcc which is good enough for our usecases.

g++

Checking:

g++ --version

If you get any successful output, you probably don’t need to do anything.

It seems macOS comes with a version of g++ which is good enough for our usecases.

dotnet

Checking:

dotnet --version

If you get any successful output, you probably don’t need to do anything.

Microsoft is offering an installer for MacOS which is available from here.

python

Checking:

python --version

If you get a version of 2.7 or higher reported, you probably don’t need to do anything.

In order to install it, please execute the following command:

brew install python@2

bison

Checking:

python --version

If you get a version above 2.3 output, you don’t need to do anything.

macOS comes with a pre-installed version of bison, however this version is 2.3 and hereby too old. So you need to update to a more recent version:

brew install bison
brew link bison --force
echo 'export PATH="/usr/local/opt/bison/bin:$PATH"' >> ~/.bash_profile

Be sure to reboot or at least restart your IDE or commandline in order for the changes to become effective.

flex

Checking:

flex --version

If you get any successful output, you probably don’t need to do anything.

It seems macOS comes with a version of flex which is good enough for our usecases.