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

The libpcap version bundled with Mac OS is currently 1.9.1. This version causes exceptions. So it’s best to update to a newer version using brew:

brew install 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.

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.

Alternatively you can also install it via homebrew:

brew install --cask dotnet-sdk

python

Checking:

python --version

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

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

brew install pyenv

Then use pyenv to install python:

pyenv install 3.9.13

Then set this as the global python version:

pyenv global 3.9.13

And add pyenv to the PATH:

echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n  eval "$(pyenv init -)"\nfi' >> ~/.zshrc
$ echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n  eval "$(pyenv init -)"\nfi' >> ~/.bash_profile

After opening a new terminal, python should be configured

python --version