Adding fedora-cisco-openh264 repository

I removed fedora-cisco-openh264.repo from /etc/yum.repos.d by mistake, now I want to add the repository again, but I can not find the file anywhere. So please someone send me the file or tell me if there is another way to bring it back.

1 Like

See which package provides that file:

sudo dnf provides /etc/yum.repos.d/fedora-cisco-openh264.repo

Which prints:

Last metadata expiration check: 12:42:25 ago on Wed 22 Mar 2023 06:38:21 AM +03.
fedora-repos-37-1.noarch : Fedora package repositories
Repo        : fedora
Matched from:
Filename    : /etc/yum.repos.d/fedora-cisco-openh264.repo

fedora-repos-37-2.noarch : Fedora package repositories
Repo        : @System
Matched from:
Filename    : /etc/yum.repos.d/fedora-cisco-openh264.repo

fedora-repos-37-2.noarch : Fedora package repositories
Repo        : updates
Matched from:
Filename    : /etc/yum.repos.d/fedora-cisco-openh264.repo

Then reinstall that package:

sudo dnf reinstall fedora-repos

Or you can simply pass a filename to dnf reinstall command and it will determine which package provides that file and try to reinstall it:

sudo dnf reinstall /etc/yum.repos.d/fedora-cisco-openh264.repo