I installed Ubuntu 12.04 on my Amazon EC2 instance and am trying to install packages using apt-get
, but I am getting the following error:
sudo: apt-get: command not found
Ubuntu comes with apt
, so it should be there. How do I fix this?
ベストアンサー1
Try replacing apt-get
with yum
as Amazon Linux based AMI uses the yum
command instead of apt-get
.