How do I install a package from “fedora updates” on AL2 or AL2022?

0

I want to install a package (loudgain) on either Amazon Linux 2 or Amazon Linux 2022 (in order to create a layer containing this binary that I can use to deploy a lambda.) It’s apparently available in the “fedora updates” package repository.

How do I do this?

ratkins
已提問 2 年前檢視次數 799 次
1 個回答
0

Hi Ratkins,

I believe you want to install a loudgain package on Amazon Linux 2. To install a software package from “fedora updates”, you need to add the repository information to the /etc/yum.conf file or to its own repository.repo file in the /etc/yum.repos.d directory. You can do this manually, but most yum repositories provide their own repository.repo file at their repository URL. A documentation with guided steps has been provided please refer to it [1].

Refer to references

[1] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/add-repositories.html

Lwazi
已回答 2 年前
  • Yes, I did that in the end (though it took quite a while to work out what the .repo file should look like.) But unfortunately the package I want wasn’t found in the repo, despite pkgs.org claiming it was.

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

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

回答問題指南