Skip to content
Search Fedora

    Browse this documentation

    Browsers on Fedora: Chromium, Chrome, and Flatpak

    Fedora ships Firefox. For Chromium-family browsers there are three routes, differing in codecs, update source, and sandboxing.

    Section titled “Route one: repository Chromium (recommended first)”
    Terminal window
    sudo dnf install -y chromium

    Measured version 154.0.8037.97, updated with dnf upgrade, no third-party repo.

    Codec trade-off: Chromium’s free build excludes proprietary codecs (the closed parts of H.264/AAC). Practical impact:

    • Most Bilibili/YouTube video uses WebM/AV1 and plays
    • A few pure H.264+AAC MP4 direct links may show black video with sound

    Optional fix:

    Terminal window
    sudo dnf install -y chromium-freeworld # third-party build with full codecs
    Terminal window
    sudo dnf install -y https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

    Measured: the direct link returns 200. Installation configures Google’s yum repo (/etc/yum.repos.d/google-chrome.repo), and dnf upgrade keeps it current.

    Proprietary codecs (H.264/AAC/Widevine) are all built in — Netflix and web-based video players work immediately. The cost:

    • not free software
    • update cadence controlled by Google’s repo
    Terminal window
    flatpak install -y flathub org.chromium.Chromium # or org.mozilla.firefox

    Measured: the flathub remote is configured by default (flatpak remotes). The Flatpak route brings host isolation and lets older Fedora versions run current browsers; the downsides:

    • larger footprint (bundled runtime)
    • updates ride the flatpak channel, decoupled from dnf
    • occasional friction between the browser and host integration (notifications, file chooser)
    repo ChromiumGoogle ChromeFlatpak
    codecsfree subsetfullfull
    updatesdnfdnf (Google repo)flatpak
    sandboxbuilt-inbuilt-inbuilt-in + host isolation
    Widevine DRMno (needs freeworld)yesyes
    fitsdaily use, free-software preferencebanking/streaming just worksisolation needs / older systems

    Widevine (the DRM behind Netflix and premium streaming) is Chrome’s exclusive out-of-the-box capability; Chromium users need third-party Widevine patches or Chrome itself.

    Terminal window
    xdg-settings set default-web-browser chromium.desktop # or google-chrome.desktop

    GNOME’s Default Applications panel writes the same value. Mail links and xdg-open all follow it.

    SymptomCause
    Chromium shows black video on Bilibiliproprietary codecs missing; freeworld or Chrome
    Chrome update GPG errorstale Google repo key; dnf clean all && dnf upgrade
    Flatpak browser cannot open local filessandbox not granted; flatpak override --filesystem=home
    Netflix says unsupportedWidevine missing (repo Chromium)
    two browsers fighting over defaultset once via xdg-settings