How to Install Opera Browser on Ubuntu 26.04 – All 4 Methods

Share

Install opera browser for ubuntu guide cover - Opera for Ubuntu 24.04: Install Guide & TipsYou can install the Opera Browser on Ubuntu using the official APT repository, a direct .deb package download, the Snap Store, or Flatpak. Opera is a Chromium-based web browser built for productivity. It includes a free built-in VPN proxy, an ad blocker, a sidebar for messaging apps like WhatsApp and Telegram, and the Aria AI assistant. While Ubuntu comes pre-installed with Firefox, Opera is a popular choice for users who want a feature-rich browser that supports Chrome extensions out of the box.

This guide walks through all four installation methods with step-by-step terminal commands. It covers duplicate repository fixes, updates, uninstallation, and some limits on Ubuntu 24.04 LTS and 26.04 LTS.

Ubuntu 24.04 & 26.04  ·  Stable Release
Install Opera Browser on Ubuntu
APT, .deb, Snap & Flatpak Complete Guide

Set up the official Opera software repository, register the GPG signing key, download the standalone package, configure official Snaps, or install via Flatpak in one detailed walkthrough.

Target OS: Ubuntu 24.04 / 26.04 LTS
Arch Support: 64-bit Intel/AMD (amd64)
Package Base: Chromium V120+ Core
License: Proprietary Freeware

Quick Facts Before Installing
• Manual APT repository uses modern GPG keyrings
• Direct .deb files auto-add updates during installation
• Official Snap is verified and maintained by Opera
• Flatpak is unofficial and sandboxed by the community
• amd64 architecture only, no ARM64 support for Pi 5
• Sidebar features let you run web apps and limit CPU

Opera is built on Chromium, meaning it renders web pages with the same engine as Google Chrome. However, it diverges significantly in its user interface and feature set. Rather than relying on extra browser add-ons, Opera built features directly into the browser. These include automatic tab grouping (Tab Islands), custom workspaces, tracker blocking, and a messaging sidebar. For Ubuntu users, installing Opera provides a complete, out-of-the-box browser setup that requires very little configuration.

Choosing the Right Installation Method

There are four ways to get the standard Opera browser on Ubuntu. The table below outlines how each method behaves regarding auto-updates, publisher authority, and system sandboxing.

Method Publisher Updates Sandbox Best For
APT Repository Official (Opera) Automatic (via apt) None (Native) Standard systems, developers
Direct .deb Official (Opera) Automatic (repo added post-install) None (Native) Fast one-time installations
Snap Package Official (Opera) Automatic (via Snapd) Yes (AppArmor) Quick CLI setups, Snap users
Flatpak Unofficial (Community) Automatic (via Flathub) Yes (Bubblewrap) Isolated sandbox preference

For the most stable and natively integrated experience, the APT repository and direct .deb download methods are recommended. They run directly on your system, avoiding sandbox permissions that sometimes limit access to local system fonts, hardware acceleration, or file folders.

Method 1: Install Opera via the Official APT Repository

Setting up the APT repository manually ensures your GPG keys are stored securely. Open your terminal (Ctrl+Alt+T) and follow these steps.

Step 1
Create Keyring and Install curl

Make sure curl is installed and create the keyrings directory if it does not already exist:

sudo apt update
sudo apt install -y ca-certificates curl gnupg
sudo install -m 0755 -d /etc/apt/keyrings

Step 2
Register Opera GPG Signing Key

Download Opera’s signing key and save it to the keyrings folder:

curl -fsSL https://deb.opera.com/archive.key | sudo gpg --dearmor -o /etc/apt/keyrings/opera-browser.gpg
sudo chmod a+r /etc/apt/keyrings/opera-browser.gpg

This keyring setup avoids using the deprecated apt-key command, which has been removed in newer versions of Ubuntu.

Step 3
Add Opera Repository to APT Sources

Add the Opera software repository to your system sources list:

echo "deb [signed-by=/etc/apt/keyrings/opera-browser.gpg arch=amd64] https://deb.opera.com/opera-stable/ stable non-free" | sudo tee /etc/apt/sources.list.d/opera-stable.list

Step 4
Update Package Index and Install Opera

Refresh your package lists to sync with the new Opera repository, and then install the stable browser package:

sudo apt update
sudo apt install -y opera-stable

Warning: Auto-Update Package Prompt

During installation, the terminal will show a prompt asking: “Do you want to configure the repository to receive automatic updates? [Yes/No]”.

Since we already set up the repository manually, select No (use the arrow keys to highlight “No” and press Enter).

Selecting Yes will write a duplicate sources configuration file to your system, resulting in duplicate repository warnings when you run apt update. If you select Yes by mistake, see the Troubleshooting section below to fix the warning.

Method 2: Install Opera via Direct .deb Download

If you prefer not to use the terminal to set up files, downloading the official `.deb` package file is a faster method. Installing this package automatically configures the software repository for future updates.

Download and Install the package

Use wget to download the latest stable version from Opera’s official download servers, and then install it with apt:

wget https://download3.operacdn.com/pub/opera/desktop/stable/linux/opera-stable_amd64.deb
sudo apt install ./opera-stable_amd64.deb

Apt vs dpkg: Always install local installer files using sudo apt install ./filename.deb instead of sudo dpkg -i. APT automatically finds and installs any extra software packages Opera needs to run. Dpkg does not do this, which can cause installation errors.

Method 3: Install Opera via the Official Snap Package

Opera builds and maintains an official Snap package. This is ideal if you prefer sandboxed applications that cannot access system files by default, or if you prefer managing software via Snapcraft.

Install from the Snap Store

Since Snaps work by default on Ubuntu, run the install command directly:

sudo snap install opera

Method 4: Install Opera via Flatpak (Flathub)

Flatpak isolates the browser completely inside a secure sandbox container using Bubblewrap. This method works well if you manage your software library via Flathub.

Warning: Unofficial Community Package

The standard Opera Browser Flatpak package hosted on Flathub is maintained by the community, not by Opera. While it runs the genuine Opera browser, it is not officially supported by Opera. For official support, use the Snap package, direct .deb, or APT method.

Step 1
Install Flatpak and Add Flathub

Ubuntu does not include Flatpak by default. Install Flatpak and register the Flathub repository:

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

Step 2
Install Opera Browser from Flathub

Run the Flatpak command to download and install Opera:

flatpak install flathub com.opera.Opera

Opera Browser Screenshots

Opera on ubuntu live screenshot - Opera for Ubuntu 24.04: Install Guide & Tips

Figure 1: Opera browser running natively on an Ubuntu desktop with the default sidebar enabled.

Opera browser screenshot via snapcraft - Opera for Ubuntu 24.04: Install Guide & Tips
Figure 2: The official, verified Snap Store package listing for the stable Opera browser.

Dark mode opera browser on flathub - Opera for Ubuntu 24.04: Install Guide & Tips

Figure 3: Flathub version of Opera Browser.

Looking for Gaming Features?
Install Opera GX on Ubuntu

If you are looking for the dedicated gaming browser with RAM limiters, CPU limits, and custom sound profiles, check out our guide on how to install Opera GX on Ubuntu.

Troubleshooting Common Opera Repository Issues

How to Fix Duplicate Repository Warnings

If you run sudo apt update and receive a warning reading “Target Packages is configured multiple times” or “Duplicate sources.list entry” for Opera, your system has registered the repository twice. This commonly happens if you set up the repository manually and also select “Yes” to Opera’s automatic setup prompt during installation.

To fix it, delete the duplicate sources configuration file by running this command in the terminal:

sudo rm /etc/apt/sources.list.d/opera-stable.list

Then run system updates again to verify the warning is gone:

sudo apt update

Frequently Asked Questions

What is the best way to install the Opera browser on Ubuntu?

The official APT repository method is the best choice for long-term use. It adds Opera’s GPG signing key and software repository to your system, allowing the browser to update automatically alongside other system packages when you run standard system updates.

Is Google Chrome or Opera better on Ubuntu?

Both browsers are built on the Chromium engine and support Chrome extensions, but they target different workflows. Google Chrome integrates natively with Google account sync and services, making it standard for work. Opera focuses on built-in productivity features, including a free VPN proxy, sidebar messengers (WhatsApp, Telegram), and tracker blocking.

Is the Flatpak version of Opera on Flathub official?

No. The standard Opera Browser on Flathub is a community-maintained package, not an official release from Opera. While it runs the genuine Opera browser, we recommend the official Snap package or the APT repository if you require direct support from the vendor.

Why do I get a duplicate repository error during apt update after installing Opera?

This occurs if both the manual GPG keyring setup and Opera’s post-installation script add repository files to your system. To fix it, delete the duplicate sources list file by running: sudo rm /etc/apt/sources.list.d/opera-stable.list and keep only the manual list file, or edit them to remove duplicate entries.

Can I install the Opera browser on Ubuntu ARM64 devices like the Raspberry Pi?

No. Opera does not publish official Linux ARM64 packages. The APT, .deb, and Snap packages are compiled exclusively for x86_64 (amd64) hardware. If you are using an ARM64-based device, we recommend using alternative browsers like Firefox or Chromium.

More Ubuntu browser guides: Best Web Browsers for Ubuntu  ·  Install Chrome on Ubuntu  ·  Brave Browser for Ubuntu  ·  Chromium for Ubuntu