Explore Courses Blog Tutorials Interview Questions
0 votes
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.4k 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
Welcome to Intellipaat Community. Get your technical queries answered by top developers!

30.5k questions

32.5k answers


108k users

Browse Categories