Skip to content

bash command not found

0

getting error while using amazon-linux-extras install nginx1.12 -y getting error :bash command not found

asked 3 years ago679 views

1 Answer
1

If you are using a newer version of the Amazon image it will not have extras in it.

You can run the following command to check your image version.

cat /etc/image-id

If it is Amazon Linux 2023, it does not have extras.

However, most of the packages are already included in the distro.

You can run sudo yum install nginx which will install version 1.22

AWS

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.