AnswerBun.com

Unable to find or install amazon-linux-extras

Super User Asked by Arjun on August 8, 2020

I am trying to install nginx on AWS EC2 instance. As this is done using amazon-linux-extras as per AWS documentation, I tried that. But I am unable to find the package or install it using yum install(it says that the package is already available but I am unable to find it using ‘which’.

Below is the terminal output. Please help.

[[email protected] ~]$ which amazon-linux-extras

/usr/bin/which: no amazon-linux-extras in (/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/arjun/.local/bin:/home/arjun/bin)

[[email protected] ~]$ sudo yum -y install amazon-linux-extras

[sudo] password for arjun:

Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
amzn2-core                                                                                                                                                               | 2.4 kB  00:00:00

Package amazon-linux-extras-1.6.9-1.amzn2.noarch already installed and latest version

Nothing to do

One Answer

All you need to do is:

amazon-linux-extras enable nginx

Answered by Algeriassic on August 8, 2020

Add your own answers!

Related Questions

How to install pysvn library for python installed under cygwin

1  Asked on January 5, 2022 by kavita-garg

 

Accessing Localhost from Hyper-V VM

1  Asked on January 5, 2022 by tim-almond

     

nginx php can’t write files on CentOS machine

2  Asked on January 5, 2022 by ctrlz

       

How to permanently disable a built-in keyboard

3  Asked on January 5, 2022 by janos-braem

   

Heatsinks next to CPU socket?

1  Asked on January 5, 2022

   

Kali Software Center No Application Data Found

4  Asked on January 5, 2022 by dimidak

 

sudo twice become method for Ansible

1  Asked on January 5, 2022

     

Colored copy of PuTTY window

2  Asked on January 3, 2022 by kuroki-kaze

     

Ask a Question

Get help from others!

© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP