I installed Ubuntu 12.04 on my instance and am trying to install packages using apt-get, but I am getting the following error:
sudo: apt-get: command not found
How do I fix this?
Try replacing apt-get
with yum
as Amazon Linux based AMI uses the yum
command instead of apt-get
.