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.
Route one: repository Chromium (recommended first)
Section titled “Route one: repository Chromium (recommended first)”sudo dnf install -y chromiumMeasured 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:
sudo dnf install -y chromium-freeworld # third-party build with full codecsRoute two: Google Chrome (vendor RPM)
Section titled “Route two: Google Chrome (vendor RPM)”sudo dnf install -y https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpmMeasured: 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
Route three: Flatpak
Section titled “Route three: Flatpak”flatpak install -y flathub org.chromium.Chromium # or org.mozilla.firefoxMeasured: 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)
The three routes compared
Section titled “The three routes compared”| repo Chromium | Google Chrome | Flatpak | |
|---|---|---|---|
| codecs | free subset | full | full |
| updates | dnf | dnf (Google repo) | flatpak |
| sandbox | built-in | built-in | built-in + host isolation |
| Widevine DRM | no (needs freeworld) | yes | yes |
| fits | daily use, free-software preference | banking/streaming just works | isolation 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.
Default browser and integration
Section titled “Default browser and integration”xdg-settings set default-web-browser chromium.desktop # or google-chrome.desktopGNOME’s Default Applications panel writes the same value. Mail links and xdg-open all follow it.
Common traps
Section titled “Common traps”| Symptom | Cause |
|---|---|
| Chromium shows black video on Bilibili | proprietary codecs missing; freeworld or Chrome |
| Chrome update GPG error | stale Google repo key; dnf clean all && dnf upgrade |
| Flatpak browser cannot open local files | sandbox not granted; flatpak override --filesystem=home |
| Netflix says unsupported | Widevine missing (repo Chromium) |
| two browsers fighting over default | set once via xdg-settings |
Related pages
Section titled “Related pages”- Codecs — the GStreamer and ffmpeg layer underneath
- Chinese input — typing Chinese in the browser
- Flatpak apps — the Flatpak system in depth
- Upstream: Chromium on Fedora