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
asked 2 years ago769 views
1 Answer
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
answered 2 years ago
  • 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.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions