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?

已提问 3 年前1074 查看次数
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

已回答 3 年前
  • 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.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则