Usually (depending on the installation) this covers it all:
sudo apt install git build-essential libssl-dev pkg-config