Questions tagged [amazon-linux-extras]

Extras is a mechanism in Amazon Linux 2 to enable the consumption of new versions of application software on a stable operating system that is supported until June 30, 2023.

Extras help alleviate the compromise between the stability of the OS and freshness of available software. For example, now you can install newer versions of MariaDB on a stable operating system supported for five years. Examples of extras include Ansible 2.4.2, memcached 1.5, nginx 1.12, Postgresql 9.6, MariaDB 10.2, Go 1.9, Redis 4.0, R 3.4, Rust 1.22.1.

https://aws.amazon.com/amazon-linux-2/faqs/#:~:text=Extras%20is%20a,3.4%2C%20Rust%201.22.1.

14 questions
8
votes
2 answers

How to install Docker on Amazon linux 2023?

I am trying to install docker engine on amazon linux 2023 using the docker ce repo with no luck. i tried to install Docker on amazon linux 2 using the "amazon-linux-extras" but its no longer available on AL2023 even though it was on AL2.
6
votes
2 answers

Uninstalling a package installed with amazon-linux-extras

How do you UNinstall a package installed with amazon-linux-extras?? sudo amazon-linux-extras install postgresql10 Installs it. Now... how do I remove it? sudo amazon-linux-extras uninstall postgresql10 Nope. sudo amazon-linux-extras remove…
Travis D
  • 318
  • 1
  • 2
  • 10
2
votes
1 answer

amazon-linux-extras enable vs install

What is the difference between amazon-linux-extras enable and amazon-linux-extras install? I am asking because a recent change in our build.sh broke our AWS build - amazon-linux-extras enable ansible2 became amazon-linux-extras install…
sashoalm
  • 75,001
  • 122
  • 434
  • 781
2
votes
2 answers

Install neofetch and screenfetch on AWS amazon-linux ec2

I want to install neofetch and screenfetch but I have yum as the default package manager in amazon linux and it does not have neofetch and screenfetch repositaries in it for me to install.
HARSHAL RATHORE
  • 103
  • 1
  • 9
1
vote
1 answer

php-sodium on Amazon Linux 2023

php-sodium is absent on Amazon Linux 2023 and can't be easilly installed. So I'll put the solution here as an answer. Expected to install php-sodium/libsodium on Amazon Linux 2023, but there is no the simple way, because amazon-linux-extras not…
1
vote
2 answers

Alternative of amazon-linux-extras in Amazon Linux 2023

We have amazon-linux-extras for Amazon Linux 2 but, what is the alternative of amazon-linux-extras in Amazon Linux 2023 and how to install it
1
vote
0 answers

Can't start docker daemon inside container

I have a docker image based on amazonlinux:2.0.20220912.1 with Amazon Corretto Java SDK 11 installed. I have also added a docker installation to this image by using this command in the Dockerfile RUN amazon-linux-extras install docker I use this…
1
vote
1 answer

How can I resolve yum install errors (dependency problems) when attempting to install php-memcached on PHP 8 on Amazon Linux 2?

I'm trying to install the PHP module "memcached" on PHP 8.0.18 using Amazon Linux 2: PHP 8.0.18 (cli) (built: May 16 2022 19:07:27) ( NTS ) Copyright (c) The PHP Group Zend Engine v4.0.18, Copyright (c) Zend Technologies with Zend OPcache…
Seth H
  • 95
  • 1
  • 8
0
votes
1 answer

Trouble deploying Django application to AWS via Jenkins and Elastic Beanstalk

I have a Django application hosted on an EC2 instance that I deploy manually via eb deploy. This is my production instance, and works fine. The Ec2 instance is an Amazon Linux 2 Platform. I'm standing up a dev server using this tutorial. I wanted to…
0
votes
0 answers

Some PHP libs only work after reboot (mbstring, intl) on EC2

I'm trying to create a template for an instance to run my app, so I have the application package (zip), the HTTP server, all the infrastructure already mapped so I can launch a new instance whenever needed. But one thing is keeping me from having a…
Christian Dechery
  • 876
  • 10
  • 31
0
votes
1 answer

Configuring amazon-linux-extras epel on Amazon Linux 2 in a private subnet

I have an EC2 in a private subnet with no external internet access. I need to pull in a package called proj from the EPEL repository. Based on this documentation I should be able to run sudo amazon-linux-extras install epel -y This does configure…
0
votes
0 answers

How to install geos_c on Amazon Linux when it is not appearing in EPEL?

I'm running some python code on EC2 that uses shape files and has a dependency on the geos_c library. It's raising a Could not find lib geos_c or load any of its variants error. I've applied updates and followed the steps from…
Chris Lill
  • 11
  • 2
0
votes
0 answers

How to add jdk17 in Docker run command in amazon extras in Dockerfile?

I am trying to use the amazon linux and installing amazon extras, Here is my Dockerfile, FROM amazonlinux:2 # Install CloudHSM client RUN yum install -y…
0
votes
1 answer

How to enable mariadb10.5 on Amazon Linux 2 with "amazon-linux-extras" command

Greeting all; I have working with an EC2 instance of Amazon Linux 2 AMI (HVM) - Kernel 5.10, SSD Volume Type (64-bit Arm). I need to install a mariadb version 10.5 on my instance Goal: My goal is to install mariadb10.5 from the amazon…