Desktop

Install Opera Browser on Fedora 45 / 44 and RHEL 10

Opera’s RPM installs cleanly on Fedora, but the browser it gives you cannot play H.264 video. On a fresh Fedora 45 desktop the opera-stable package reports H.264, H.265 and AAC as unsupported, so a plain MP4 fails with media error code 4 while VP9 and AV1 play fine. If you install Opera browser on Fedora for news sites or training videos, decide that before you pick an install method.

Original content from computingforgeeks.com - post 18231

This guide covers both routes, the official Opera RPM repository with its signing key and dnf, and the Flathub build that ships the missing codecs. It also covers what changes on RHEL 10, where the package needs Qt5 libraries that only EPEL provides, plus updates and a clean removal. Every command below was run in November 2026 on Fedora 45 Workstation, Fedora 44 and AlmaLinux 10.2 (standing in for RHEL 10), with Opera 139 from Opera’s own repo.

Choose the RPM or the Flatpak

RPM and Flatpak differ in more than packaging. We ran the same codec test page in both on one Fedora 45 VM, and the results split cleanly on proprietary formats while the version gap went the other way. The table is what you are trading.

ItemOpera RPM (rpm.opera.com)Flathub (com.opera.Opera)
Version tested139.0.6053.38 (Chromium 155)136.0.6008.80 (Chromium 152)
H.264 and AAC in HTML5 videoNot supportedSupported, H.264 MP4 played
H.265Not supportedNot supported
VP9, AV1, Opus, MP3SupportedSupported
Updates throughdnf (Opera’s repo)flatpak update
Maintained byOpera SoftwareFlathub community, not Opera
RHEL 10 familyNeeds Qt5 from EPELNot tested here

Take the RPM if you want the newest Opera and your video comes from YouTube or other VP9 and AV1 sites, because it was three majors ahead of Flathub on test day. Take the Flatpak if you need H.264, which covers a lot of news sites, LMS platforms and anything served as a plain MP4. Flathub’s own listing says that build is not affiliated with or supported by Opera, so treat it as a community repackage and expect it to trail the official one.

Add the Opera RPM repository

Import Opera’s signing key first. Fedora 45 checks the signature of every package that comes from a repo, so importing the key up front means you trust it once, on purpose, and can check its fingerprint before any Opera package touches the system:

sudo rpm --import https://rpm.opera.com/rpmrepo.key

Confirm the key landed. The current one is Opera’s 2025 archive key, with a fingerprint ending in b693a745.

rpm -q gpg-pubkey --qf '%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n' | grep -i opera

One line comes back for the key you just imported. If you see nothing, the import failed and dnf will ask about the key again on the first install.

gpg-pubkey-6c86be214648376680ca957b11ee8c00b693a745-682b1270	Opera Software Archive Automatic Signing Key 2025 <[email protected]> public key

Now create the repo file. On Fedora 45 the distro’s own repo definitions moved to /usr/share/dnf5/repos.d and /etc/yum.repos.d ships empty, but dnf5 still reads /etc/yum.repos.d, and that is where third-party repos belong. Older guides that tell you to edit a file next to fedora.repo in that directory will not find one. If vim is not installed on your machine, install vim-enhanced or use nano for this one file.

sudo vim /etc/yum.repos.d/opera.repo

Paste the stanza from Opera’s RPM repository manual. It is byte for byte what the package itself writes later, so the two never end up as duplicate repos.

[opera]
name=Opera packages
type=rpm-md
baseurl=https://rpm.opera.com/rpm
gpgcheck=1
gpgkey=https://rpm.opera.com/rpmrepo.key
enabled=1

List what the repo offers. You’ll see four channels.

  • opera-stable, the release channel
  • opera-beta, the beta channel
  • opera-developer, the developer channel
  • opera-gx-stable, the GX gaming build

Query the repo directly so you see the versions it carries today:

dnf list --available 'opera*'

The repo metadata loaded and opera-stable is at 139.0.6053.38 for both x86_64 and aarch64. The opera-beta line sat at 126 when we checked, well behind stable, so do not install it expecting newer code than stable. Use the developer channel if you want to see what is coming.

Opera 2025 signing key imported and opera-stable 139 listed in the Opera RPM repo on Fedora 45

With the key trusted and the repo enabled, the install itself is one command. None of the repo setup differs between Fedora 45 and 44.

Install Opera on Fedora 45 and 44

Install the stable channel. Swap in opera-developer or opera-gx-stable if that is the build you want, since the steps are identical.

sudo dnf install opera-stable

On Fedora 45 Workstation the transaction pulled 14 packages, 149 MiB to download and 436 MiB on disk. Two dependencies are worth knowing about: Qt5 (Opera still links against libQt5Core for its file dialogs) and at, which the package uses to finish its own setup. Our Fedora 44 test box was a minimal Cloud image, so it pulled 94 packages to bring in the desktop libraries as well, but it installed the same 139.0.6053.38 build and nothing below differs between the two releases.

dnf install opera-stable on Fedora 45 pulling at and Qt5 dependencies, then opera --version 139.0.6053.38

Check the installed version from the terminal. You do not need a graphical session for this, so it also works over SSH on a box you are preparing for someone else.

opera --version

It prints the bare version string and exits.

139.0.6053.38

Opera lands in /usr/lib64/opera-stable, not /usr/lib64/opera as older guides and forum posts say, and the launcher shows up in GNOME’s app grid as Opera. Open it once and go to opera://about to see the Chromium version it is built on. You need that number if you ever chase a codec library for it, because anything you load into Opera has to match its Chromium major.

opera://about page showing Opera One 139.0.6053.38 and Chromium 155.0.8059.85 on Fedora 45

Opera reports itself as Opera One 139.0.6053.38 on the Stable stream, built on Chromium 155.0.8059.85, and reads the system as Fedora 45 Workstation. Note that Chromium major, 155, because the codec section below comes back to it.

The package sets up its own repo five minutes later

Opera’s %post scriptlet starts atd and queues /usr/lib64/opera-stable/setup_repo.sh to run five minutes later. That script imports both Opera keys (2023 and 2025) and writes /etc/yum.repos.d/opera.repo unless a repo file already points at rpm.opera.com. We installed the RPM straight from its URL on a second, clean run to watch it happen, and the job fired on schedule.

atq job from the Opera RPM and the opera.repo file plus 2023 and 2025 Opera keys it added on Fedora 45

So you can skip the manual repo step and still get updates, as long as you wait for the job. We still recommend the manual key and repo first. On that URL install dnf5 printed Warning: skipped OpenPGP checks for 1 package from repository: @commandline and installed an RPM nobody had verified, even with Fedora 45’s %_pkgverify_level set to all. Going through the repo means the very first package is signature-checked too.

Install Opera on RHEL 10

Opera only documents Fedora and openSUSE, and on the RHEL 10 family the same repo and key go in without complaint. The install is a different story, because RHEL 10 dropped Qt5 from its own repositories.

Error: “nothing provides libQt5Core.so.5()(64bit) needed by opera-stable”

Here is dnf install opera-stable on AlmaLinux 10.2 with only BaseOS, AppStream, CRB and Extras enabled. Six unmet Qt5 provides (Core, Gui and Widgets) stop the transaction before anything downloads, so nothing is left half installed.

nothing provides libQt5Core.so.5 error installing opera-stable on AlmaLinux 10 without EPEL

Do not reach for --skip-broken or --nobest as the error suggests, because neither of them installs Opera. EPEL 10 still builds Qt5, so that is the repo to add. On AlmaLinux and Rocky Linux 10, enable CRB and install the release package from Extras.

sudo dnf config-manager --set-enabled crb
sudo dnf install epel-release

On RHEL 10 itself, enable the CodeReady Builder repo through subscription-manager and install the epel-release-latest-10 RPM, as covered step by step in our guide to installing EPEL on RHEL 10. Then check that the missing library now has a provider:

dnf provides 'libQt5Core.so.5()(64bit)'

EPEL’s qt5-qtbase answers it. Run the same install again.

sudo dnf install opera-stable

On a minimal AlmaLinux 10.2 VM this is a bigger transaction than on Fedora Workstation (84 packages, 211 MB to download, 670 MB installed) because the X11 and GTK libraries a desktop would already have come along too. The Qt5 pieces all come from epel and Opera itself from opera, and opera --version then returns 139.0.6053.38, the same build Fedora gets:

EPEL 10 qt5-qtbase satisfying libQt5Core and opera-stable 139 installing on AlmaLinux 10

Keep EPEL enabled afterwards. Opera now depends on EPEL’s Qt5 packages, and their updates and security fixes only come from that repo.

Check HTML5 video codecs

To see what Opera can actually play, we loaded a local test page that calls video.canPlayType() for seven formats and tries to play a 1280×720 H.264 MP4 and a VP9 WebM made with ffmpeg. In the RPM build on Fedora 45, three formats came back empty.

  • H.264 (avc1.42E01E) in MP4
  • H.265 (hvc1) in MP4
  • AAC (mp4a.40.2) audio

The MP4 then failed with error code 4, which is MEDIA_ERR_SRC_NOT_SUPPORTED, the browser saying it has no decoder for the file.

Opera RPM on Fedora 45 reporting H.264 and AAC unsupported and an H.264 MP4 failing with error code 4

That is the symptom people report as “video doesn’t play in Opera on Fedora”, meaning a black player or a site quietly falling back to a lower format. VP9, AV1, Opus and MP3 all return probably, which is why YouTube keeps working and hides the problem. The cause is the libffmpeg.so Opera ships in /usr/lib64/opera-stable, which leaves out the patent-encumbered decoders.

Two details from the lab save you some dead ends. On first launch Opera downloaded Cisco’s libopenh264-2.6.0 into ~/.config/opera/OpenH264, and it changed nothing for HTML5 video, so do not take that folder as proof H.264 works. Fedora’s ffmpeg-free and openh264 packages were installed system-wide during the same test and did not help either, because Opera loads its own libffmpeg.so and never the system FFmpeg.

Opera’s own binary references a lib_extra directory next to its bundled library, and that’s the slot the Flathub build fills with a full libffmpeg.so. Flathub’s manifest downloads that library from the community nwjs-ffmpeg-prebuilt project, and community guides copy the same kind of build into /usr/lib64/opera-stable/lib_extra/ for the RPM. We didn’t test the manual copy. It works the same way as the Flatpak, but you become the one matching the library to Opera’s Chromium major after every Opera update, while Flathub does that matching and packaging for you. For working H.264, the tested route is the Flatpak below.

Install Opera from Flathub instead

On our Fedora 45 Workstation VM, flatpak remotes listed only Fedora’s own OCI remote, which doesn’t carry Opera, so add Flathub first. The --if-not-exists flag makes it a no-op if you enabled third-party repositories during setup, as our Fedora 45 post-install checklist suggests:

sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

Then install Opera system-wide, so every account on the machine gets the same build. Answer the runtime prompts with Y, or add -y as we did in the lab to accept them all.

sudo flatpak install flathub com.opera.Opera

A first Flatpak install brings the Freedesktop 25.08 runtime and its extensions along with the app, about 188 MB for Opera alone. The H.264 support does not come from the runtime: the app ships its own full libffmpeg.so in /app/opera/lib_extra, which we found inside the sandbox. Confirm which version you got.

flatpak list --app --columns=application,version,branch,origin

Flathub was on 136.0.6008.80, three majors behind the RPM’s 139 on the same day, and its newest commit was an update pull request merged on October 7. Expect that lag from a repackage that only moves when someone merges the next update:

Flathub remote added and com.opera.Opera 136.0.6008.80 installed from Flathub on Fedora 45

Launch it from the app grid or with flatpak run com.opera.Opera. It keeps its profile in ~/.var/app/com.opera.Opera, separate from the RPM’s ~/.config/opera, so the two builds can sit side by side without sharing bookmarks. The first launch opens Opera’s onboarding pages.

Opera Flatpak first launch welcome screen on Fedora 45 Workstation

The only user folder Opera’s sandbox can read is Downloads (xdg-download in flatpak info --show-permissions), so local HTML files elsewhere in your home won’t open. We copied the test page and clips into ~/Downloads and loaded them there, and this time H.264 and AAC return probably and the MP4 plays at 1280×720:

Opera Flatpak 136 on Fedora 45 reporting H.264 and AAC supported and an H.264 MP4 playing at 1280x720

H.265 is still empty in the Flatpak, so HEVC-only sources will not play in either build. For everything else the Flatpak plays what the RPM refuses, at the cost of running a few versions behind. If you’re new to Flatpak, our guide on managing Flatpak applications covers permissions and overrides.

Update or remove Opera

An RPM install updates with the rest of the system on every sudo dnf upgrade, since the repo stays enabled. To update just the browser, name the package.

sudo dnf upgrade opera-stable

Flathub serves the Flatpak’s updates, either with the rest of your Flatpak apps or on its own. Our run on November 4 reported nothing to update, which matches the October build date above.

flatpak update com.opera.Opera

Removing the RPM also takes the unused dependencies it pulled in. On our Fedora 45 VM, dnf removed Opera together with Qt5 and at and freed 436 MiB:

sudo dnf remove opera-stable

That still leaves the repo file and both Opera keys behind, and a stale third-party repo is the kind that starts failing dnf runs later (see fixing third-party repo 404 errors on Fedora). On Fedora, delete the file and the keys by fingerprint. Use rpmkeys --delete there, because Fedora 45’s rpm answers rpm -e gpg-pubkey-... with warning: erasing gpg-pubkey packages is deprecated.

sudo rm -f /etc/yum.repos.d/opera.repo
sudo rpmkeys --delete 6c86be214648376680ca957b11ee8c00b693a745
sudo rpmkeys --delete 9701d4a1b4d92e261c8c66fe24a1004b1f11dcc9

RHEL 10’s older rpm names keys by their short ID instead, so there you remove the repo file the same way and erase the two keys as gpg-pubkey-b693a745-682b1270 and gpg-pubkey-1f11dcc9-6474b215 with sudo rpm -e. Those are the exact names Opera’s own setup_repo.sh queries before importing. We ran the removal on Fedora only.

For the Flatpak, uninstall the app and then the runtimes nothing else uses. The second command only removes runtimes no installed app still needs, so it is safe on a desktop with other Flatpaks.

sudo flatpak uninstall com.opera.Opera
sudo flatpak uninstall --unused

Neither removal touches your profile. After a short test session these were still on disk:

  • ~/.config/opera, 108 MB for the RPM build
  • ~/.cache/opera, the RPM build’s cache
  • ~/.var/app/com.opera.Opera, 84 MB for the Flatpak

Delete those directories only if you do not plan to come back, since they hold bookmarks, saved passwords and sessions. Reinstalling either build picks the old profile up again if you leave them.

For a daily Fedora 45 or 44 desktop, run the RPM if your video is VP9 and AV1, and the Flatpak if anything you watch is H.264. On RHEL 10 the RPM plus EPEL is the route we tested end to end. If you want a privacy-focused alternative built for Fedora, see our Trivalent hardened browser guide, and for a fresh machine start with the Fedora 45 Workstation install.

Keep reading

How to Upgrade Fedora 44 to Fedora 45 (GUI, CLI and Rollback) Fedora How to Upgrade Fedora 44 to Fedora 45 (GUI, CLI and Rollback) Things to Do After Installing Fedora 45 Workstation Fedora Things to Do After Installing Fedora 45 Workstation Enable RPM Fusion and Multimedia Codecs on Fedora 45 / 44 / 43 Fedora Enable RPM Fusion and Multimedia Codecs on Fedora 45 / 44 / 43 NVIDIA Kernel Module Missing, Falling Back to Nouveau on Fedora Fedora NVIDIA Kernel Module Missing, Falling Back to Nouveau on Fedora Pop!_OS 26.04 COSMIC Keyboard Shortcuts Cheat Sheet (PDF) Cheat Sheets Pop!_OS 26.04 COSMIC Keyboard Shortcuts Cheat Sheet (PDF) How To Install and Configure OpenNMS on RHEL 9/ CentOS Stream 9 CentOS How To Install and Configure OpenNMS on RHEL 9/ CentOS Stream 9

Leave a Comment

Press ESC to close