How to Install Opera Browser on Fedora 40 or 39

Opera Browser stands out as a feature-rich and versatile web browser, offering a myriad of functionalities that enhance user experience and productivity. Known for its speed and efficiency, Opera integrates a range of innovative features that cater to the diverse needs of its user base. From built-in ad blocking and VPN services to its unique sidebar interface, Opera provides a seamless and customizable browsing experience.

Below are additional highlights of Opera Browser:

  • Speed and Efficiency: Opera is designed for fast and efficient browsing, reducing load times and optimizing performance.
  • Built-in Ad Blocker: Enjoy an ad-free browsing experience with Opera’s integrated ad-blocking feature.
  • Free VPN: Enhance your privacy and security with Opera’s built-in VPN service.
  • Battery Saver Mode: Extend your laptop’s battery life with Opera’s energy-saving mode.
  • Crypto Wallet Support: Opera supports cryptocurrency transactions with an integrated crypto wallet.
  • Personalized News Feed: Stay updated with the latest news tailored to your interests in the browser.
  • Integrated Messenger: Access your favorite messengers directly from the browser’s sidebar for effortless multitasking.
  • Customizable Themes and Extensions: Personalize your browser with themes and add functionalities with various extensions.

Let’s delve into the technical steps to install Opera Browser on your Fedora Linux system, ensuring you can leverage these features effectively.

Method 1: Install Opera Browser via DNF Commands

Update Fedora Before Opera Installation

To start, update your Fedora system. This step ensures that all existing packages are current, reducing the risk of system conflicts. Run the following command in your terminal:

sudo dnf upgrade --refresh

Import Opera Browser RPM Repository

Opera Browser is not available in Fedora’s default repositories. To install it, you must first add Opera’s official repository to your system. Begin by importing the Opera Browser GPG key:

sudo rpm --import

Then, execute this command to add the Opera RPM repository to your system:

sudo tee /etc/yum.repos.d/opera.repo <<RPMREPO
name=Opera packages

Install Opera Browser via DNF Commands

Now, proceed with installing the Opera Browser. It is advisable to begin with the stable build for a reliable experience. Use this command:

sudo dnf install opera-stable -y

After installation, verify the installed version of Opera Browser:

opera --version

Install Opera Browser Beta or Developer Build (Optional)

Opera offers beta and developer builds for users who prefer early access to new features. Note that you can install the beta or developer build alongside the stable version. Each of these builds has a unique installation ID.

To install the version of your choice, use one of the following commands:

For the beta build:

sudo dnf install opera-beta
opera-beta --version

For the developer build:

sudo dnf install opera-developer
opera-developer --version

Note: Installing beta and developer builds simultaneously is impossible due to their shared installation build ID, which differs from the stable build’s unique ID. Choose the build that best suits your needs for testing and exploring upcoming features.

Method 2: Install Opera Browser via Flatpak with Flathub

Before delving into the installation steps, it’s important to note that using Flatpak with Flathub only allows for installing the stable build of the Opera Browser. If you require the beta or developer builds, refer to the previously discussed method involving Opera’s RPM repository.

Verify and Install Flatpak for Opera Browser

First, check if Flatpak is installed on your Fedora system. Flatpak is a default package manager in Fedora, typically pre-installed. If you’ve removed it or need to confirm its presence, reinstall it with this command:

sudo dnf install flatpak -y

This command reinstalls Flatpak, ensuring it’s available for Opera Browser installation. The -y flag automatically approves the installation, streamlining the process.

Enable Flathub for Opera Browser Installation

With Flatpak installed, the next step is to add Flathub, a key repository for Flatpak applications. Flathub provides access to various applications, including the Opera Browser. Use this command to integrate Flathub into your system:

sudo flatpak remote-add --if-not-exists flathub

Finalize Opera Browser Installation via Flatpak Command

Now, proceed to install Opera Browser. Utilizing Flatpak for the installation ensures you get the latest stable version of the browser. Run this command:

flatpak install flathub com.opera.Opera

This command retrieves and installs the Opera Browser from Flathub, guaranteeing the most up-to-date stable release.

Troubleshoot Opera Browser Flatpak Installation

A typical error encountered during Flatpak installations from Flathub is:

“error: Unable to load summary from remote flathub: Can’t fetch summary from disabled remote ‘flathub’.”

To fix this issue, re-enable Flathub with:

flatpak remote-modify --enable flathub

This command reactivates Flathub, rectifying the error and facilitating the continuation of the installation.

Launching Opera Browser

CLI Commands to Launch Opera Browser

After successfully installing Opera Browser, you can initiate it through the command line interface (CLI). Depending on the version installed, use one of the following commands:


These commands allow you to quickly start the corresponding version of Opera Browser directly from the terminal.

If you installed Opera Browser using Flatpak, launch it with this command:

flatpak run com.opera.Opera

This command activates the Flatpak-installed Opera Browser, catering to users who prefer the Flatpak installation method.

Opening Opera Browser from the Desktop Environment

For users who primarily interact with Fedora Linux through its graphical interface, Opera Browser can be accessed without using the terminal. Follow this path:

  • Navigate to Activities
  • Select Show Applications
  • Click on Opera Browser {version}

Managing Opera Browser on Fedora

Update Opera Browser

DNF Method to Update Opera Browser

To keep Opera Browser up-to-date on Fedora Linux, utilize the DNF package manager. This method refreshes your entire system, including Opera Browser if it was installed via DNF. Execute the following command:

sudo dnf upgrade --refresh

This command checks for updates across all repositories, including Opera, ensuring your browser stays current with the latest features and security updates.

Flatpak Method to Update Opera Browser

If you installed Opera Browser via Flatpak, use this command to check for updates:

flatpak update

This command updates all packages managed by Flatpak, including Opera Browser, ensuring you have the latest version available.

Remove (Uninstall) Opera Browser

DNF Method to Remove Opera Browser

To uninstall Opera Browser installed through DNF, use the appropriate command based on the version you have:

sudo dnf remove opera-stable
sudo dnf remove opera-beta
sudo dnf remove opera-developer

If you’re not planning to reinstall Opera via its RPM repository, it’s recommended to remove the repository as well:

sudo dnf config-manager --set-disable rpm.opera.com_rpm

This step ensures the Opera repository is no longer referenced in your system’s package manager.

Flatpak Method to Remove Opera Browser

The removal process is straightforward for users who installed Opera Browser using Flatpak. Run this command:

flatpak uninstall com.opera.Opera

This command uninstalls Opera Browser, which is managed by Flatpak, and removes it from your Fedora Linux system.

Solve Opera Changing Language Issue

You can skip this section if you’re using Opera Browser in English. It addresses issues encountered when using Opera with multiple languages on Linux, where default settings may not function correctly.

Setting the Language in Opera

Users who prefer a language other than English might encounter issues with language switching in Opera on Fedora Linux. To resolve this, set your preferred language in the browser and modify the application’s launch command. Note that merely changing the browser’s language settings may not be sufficient; modifying the launch file is often necessary.

Modifying the Launch Command for Language Support

To adjust Opera’s language settings, modify the browser’s launch command. This involves editing the application file located at /usr/share/applications/opera.desktop. Use the following command as a template, replacing {LANGUAGE CODE} with your desired language code (e.g., de for German, es for Spanish, ja for Japanese):

sudo sed -i 's/Exec=opera %U/Exec=opera --lang={LANGUAGE CODE} %U/g' /usr/share/applications/opera.desktop

This command alters the Opera stable version’s launch command to include the specified language code. For users of Opera Beta or Developer versions, adjust the path in the command to /usr/share/applications/opera-beta.desktop or /usr/share/applications/opera-developer.desktop, respectively.

Installing Language Packs

If switching languages proves challenging, especially for users who installed the English version, installing the necessary language packs might be required. Install your desired language pack using the following command:

sudo dnf install langpacks-<locale_code>

A comprehensive list of language packs is available on the Fedora Wiki page under “I18N/Language Support Using Dnf.

Ready-to-Use Commands for Popular Languages

Here are commands for changing Opera’s language to some of the most commonly used languages for convenience. Remember, these are for the stable version of Opera.

Note: Modify the file path for the beta or developer versions as explained earlier:


sudo sed -i 's/Exec=opera %U/Exec=opera --lang=de %U/g' /usr/share/applications/opera.desktop


sudo sed -i 's/Exec=opera %U/Exec=opera --lang=fr %U/g' /usr/share/applications/opera.desktop


sudo sed -i 's/Exec=opera %U/Exec=opera --lang=it %U/g' /usr/share/applications/opera.desktop


sudo sed -i 's/Exec=opera %U/Exec=opera --lang=ja %U/g' /usr/share/applications/opera.desktop


sudo sed -i 's/Exec=opera %U/Exec=opera --lang=ko %U/g' /usr/share/applications/opera.desktop


sudo sed -i 's/Exec=opera %U/Exec=opera --lang=es %U/g' /usr/share/applications/opera.desktop


sudo sed -i 's/Exec=opera %U/Exec=opera --lang=pt %U/g' /usr/share/applications/opera.desktop


sudo sed -i 's/Exec=opera %U/Exec=opera --lang=pl %U/g' /usr/share/applications/opera.desktop


In this guide, we’ve explored the steps to successfully install Opera Browser on Fedora Linux, ensuring a seamless setup for users. Embrace Opera’s flexibility and efficiency, and don’t hesitate to customize it further to suit your browsing needs.

Useful Links

Here are some valuable links related to using Opera:

  • Opera Official Website: Visit the official Opera website for information about the browser, its features, and download options.
  • Opera Browser Window Help: Explore detailed guides on navigating and using the browser window in Opera.
  • Opera Customization Help: Learn how to customize Opera to suit your preferences with this comprehensive guide.
  • Opera FAQ: Find answers to frequently asked questions about using Opera.
Joshua James
Follow me
Latest posts by Joshua James (see all)