Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in AWS by (19.1k 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.3k 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

0 votes
1 answer

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
0 votes
1 answer

Browse Categories

...