how to install apt-get in amazon linux code example Example: sudo amazon-linux-extras install $ sudo yum install -y amazon-linux-extras