使用 AWS re:Post 即表示您同意 AWS re:Post 使用條款

enable epel in AWS Linux 2022

0

I am trying to enable epel in AWS Linux 2022 - I am using al2022-ami-2022.0.20220817.0-kernel-5.15-arm64 image. However, when I run rpm -Uvh dl.fedoraproject.org/pub/epel/7/aarch64/Packages/e/epel-release-*.rpm I get the following error:

error: Failed dependencies:
        redhat-release >= 7 is needed by epel-release-7-12.noarch

Not sure, if there is another way to install third party package. I am trying the basic - Linux + Apache + Certbot. There is LAMP tutorial that works fine; but the section To secure your web server (Optional) refers to Linux 2 documentation.

I also noticed that Certbot is not yet available for Linux 2022, correct?

profile picture
已提問 2 年前檢視次數 6883 次
1 個回答
0

EPEL is a third-party, community-driven repository targeting EL distros (RHEL, and its clones or hybrids). But starting with AL2023, AL is an independent distro that uses multiple upstreams. It's not directly compatible with RHEL, and therefore EPEL packages are unlikely to work with it.

Customers in need of additional packages in AL2023 should request them through their customer representatives or support channels.

References:

AWS
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南