0 votes
1 view
in AWS by (19.2k points)

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?

1 Answer

0 votes
by (44.6k points)

Replace apt-get with yum.

This is because Amazon Linux based AMI's use the yum command instead of the apt-get command.

Related questions

Welcome to Intellipaat Community. Get your technical queries answered by top developers !