I tried sudo apt-get amazon-linux-extras
It is ubuntu, so I don't have yum on the machine and I can't find the repo to download amazon-linux-extras
EDIT
I am trying to run make to build cpp code base and I get following error
/bin/sh: 2: autoreconf: not found
To install autoreconf the following package needs to be installed:
sudo apt-get install autoconf
Also for building cpp projects, usually the build-essentail package is enough:
sudo apt install build-essential