Edge Browser

Wanting to install edge browser again all was ok until I used the following line as before on fedora 40 but now it seems the line has been changed, what’s it been changed to thanks

sudo dnf config-manager --add-repo Index of /yumrepos/edge/
sudo dnf-3 config-manager --add-repo Index of /yumrepos/edge/

Seems all I was missing was dnf-3

The recommended way would normally be to install the flatpak:

$ flatpak install flathub com.microsoft.Edge
1 Like

The .repo file appears to be here, so you could:

sudo wget https://packages.microsoft.com/yumrepos/edge/config.repo -o /etc/yum.repos.d/ms-edge.repo

This method should work regardless of dnf versions.

Flatpak is also definitely supported, but be aware that some external browser integrations (eg, KeePassXC) might not work out of box via the flatpak method over RPM.

1 Like
sudo dnf config-manager addrepo --from-repofile=http://example.com/some/additional.repo

URL in your case should be https://packages.microsoft.com/yumrepos/edge/config.repo

F41 uses dnf5, syntax is a little different.
See also Config-manager Command — dnf5 documentation

2 Likes