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

Multistep ssh – is it possible?

3  Asked on December 22, 2020 by vahagn-tumanyan

 

Microsoft Word: Table of Figures Ordering

2  Asked on December 21, 2020 by scoopsahaagendazs

 

not able to open my downloads through terminal in Mac OS

0  Asked on December 21, 2020 by daiwik-kashyap

   

Chrome high processor usage on Asus Tuf A15

0  Asked on December 20, 2020 by geeky-gurdeep

     

Lost files since renamed folder

1  Asked on December 20, 2020 by asklep

 

Renaming disks: from D: to F:

1  Asked on December 20, 2020 by user2925716

       

Windows 10 Taskbar Icons Blinking (Compressing)

1  Asked on December 19, 2020 by guy-thomas

     

Mysql Workbench import CSV 0 record imported

1  Asked on December 19, 2020 by zhenyu

   

Ask a Question

Get help from others!

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