How to Install Opera Browser on Ubuntu 26.04, 24.04 and 22.04

Last updated Tuesday, April 28, 2026 1:57 pm Joshua James 9 min read 4 comments

Opera is available for Ubuntu through Opera’s own APT repository, with separate packages for regular Opera Stable, Opera GX Stable, regular Opera Beta, and regular Opera Developer. If you want to install Opera Browser on Ubuntu without chasing one-off downloads, the repository path keeps updates tied to APT and makes the channel names explicit.

The official download pages still offer direct .deb installers, and Opera GX now has an official Linux build. For long-term maintenance on Ubuntu 26.04, 24.04, and 22.04, use APT when you want Opera’s repository-managed packages, use Snapcraft when you want a store package for regular Opera, Opera GX, or regular Opera Developer, and use Flathub when you specifically want the verified Opera GX Flatpak.

If you are comparing Chromium-based browsers, Ubuntu also has separate install guides for Google Chrome, Chromium, Microsoft Edge, Vivaldi, and Brave.

Install Opera Browser on Ubuntu

Start from an updated package index so APT has current Ubuntu metadata before you add Opera’s repository.

sudo apt update
sudo apt upgrade

If your account cannot run sudo commands, add the user to the sudo group before continuing. The Ubuntu sudoers guide covers that prerequisite.

Choose an Opera Installation Method

Pick the method by channel first. APT is the most complete option because it covers regular Opera Stable, Opera GX Stable, regular Opera Beta, and regular Opera Developer from one source. Opera GX does not currently have separate Beta or Developer packages in the official APT repository; opera-beta and opera-developer are regular Opera channels.

MethodPackage or app IDChannels coveredBest fit
Opera APT repositoryopera-stable, opera-gx-stable, opera-beta, opera-developerRegular Stable, GX Stable, regular Beta, regular DeveloperMain recommended path for Ubuntu package management.
Snapcraftopera, opera-gx, opera-developerRegular Stable, GX Stable, regular DeveloperStore-managed installs with automatic Snap refreshes.
Flathubcom.opera.opera-gxVerified Opera GX stable FlatpakGX users who already prefer Flatpak workflows.
Manual downloadOpera .deb downloadsRegular Opera and Opera GX installersOne-off installs when you do not want a store method.

Understand Opera GX Channel Availability

For Opera GX specifically, the official APT repository currently publishes opera-gx-stable. It does not publish opera-gx-beta or opera-gx-developer. When this guide mentions Beta or Developer, those names refer to the regular Opera packages, opera-beta and opera-developer.

Check Ubuntu Architecture for Opera

Opera Stable, Opera GX, and Opera Beta are currently published in the Opera APT repository for 64-bit amd64 systems. Opera Developer is also exposed for arm64, but the main desktop flow below uses the amd64 source entry because that is the architecture shared by Stable, GX, Beta, and Developer. Confirm your Ubuntu architecture before adding the repository.

dpkg --print-architecture
amd64

If the command prints arm64, do not use the amd64 source entry for Stable, GX, or Beta. Check Opera’s current Linux downloads and repository metadata before deciding whether the Developer-only arm64 package fits your system.

Add the Official Opera APT Repository

Install the small tools needed to fetch the signing key and let APT verify HTTPS repository metadata.

sudo apt install ca-certificates curl gnupg

Download Opera’s signing key with the curl command, convert it to a binary keyring, and store it under /usr/share/keyrings/ for the dedicated Opera source file.

curl -fsSL https://deb.opera.com/archive.key | sudo gpg --dearmor --yes -o /usr/share/keyrings/opera-browser.gpg

Create a DEB822 source file for the maintained Opera repository. Opera uses the repository path opera-stable for Stable, GX, Beta, and Developer packages, so do not change the URI when installing a different channel.

printf '%s\n' \
'Types: deb' \
'URIs: https://deb.opera.com/opera-stable/' \
'Suites: stable' \
'Components: non-free' \
'Architectures: amd64' \
'Signed-By: /usr/share/keyrings/opera-browser.gpg' \
| sudo tee /etc/apt/sources.list.d/opera.sources > /dev/null

Check the file before refreshing APT so a typo is easier to catch.

cat /etc/apt/sources.list.d/opera.sources
Types: deb
URIs: https://deb.opera.com/opera-stable/
Suites: stable
Components: non-free
Architectures: amd64
Signed-By: /usr/share/keyrings/opera-browser.gpg

Refresh APT and Verify Opera Packages

Refresh package metadata after adding the source, then confirm APT can see the Opera packages.

sudo apt update
apt-cache policy opera-stable opera-gx-stable opera-beta opera-developer

A valid result shows candidates from https://deb.opera.com/opera-stable. Version numbers change as Opera publishes new builds, so use the package names and source URL as the stable checks.

opera-stable:
  Installed: (none)
  Candidate: 130.0.5847.92
  Version table:
     130.0.5847.92 500
        500 https://deb.opera.com/opera-stable stable/non-free amd64 Packages
opera-gx-stable:
  Installed: (none)
  Candidate: 130.0.5847.89
  Version table:
     130.0.5847.89 500
        500 https://deb.opera.com/opera-stable stable/non-free amd64 Packages
opera-beta:
  Installed: (none)
  Candidate: 126.0.5750.30
  Version table:
     126.0.5750.30 500
        500 https://deb.opera.com/opera-stable stable/non-free amd64 Packages
opera-developer:
  Installed: (none)
  Candidate: 131.0.5877.0
  Version table:
     131.0.5877.0 500
        500 https://deb.opera.com/opera-stable stable/non-free amd64 Packages

Choose an Opera APT Package

Install one APT channel unless you intentionally want separate Opera builds on the same system. The packages can coexist, but most users only need regular Stable or GX Stable.

APT packageBrowser buildLauncherAvailability note
opera-stableRegular Opera StableoperaDaily browsing on amd64 Ubuntu desktops.
opera-gx-stableOpera GX Stableopera-gxGX build on amd64. No separate GX Beta or GX Developer APT package is published.
opera-betaRegular Opera Betaopera-betaPreviews upcoming regular Opera changes on amd64.
opera-developerRegular Opera Developeropera-developerNewest regular Opera channel, currently exposed for amd64 and arm64.

During any of the APT installs below, Opera can ask whether to add Opera’s repository. Choose No because the DEB822 source already exists.

For the normal Opera browser, install the Stable package.

sudo apt install opera-stable

For Opera GX on Ubuntu, use the full APT package name opera-gx-stable. The shorter package name opera-gx is the launcher command, not the package name.

sudo apt install opera-gx-stable

Install Beta or Developer only when you want a separate regular Opera pre-release browser for testing. These are not Opera GX pre-release packages.

sudo apt install opera-beta
sudo apt install opera-developer

If the repository prompt appears, it looks like this:

Opera packages can also create legacy .list source files beside the DEB822 file on some installs. Remove those legacy files so APT does not warn about duplicate package targets.

sudo rm -f /etc/apt/sources.list.d/opera-stable.list \
/etc/apt/sources.list.d/opera-gx-stable.list \
/etc/apt/sources.list.d/opera-beta.list \
/etc/apt/sources.list.d/opera-developer.list

sudo apt update

Verify Opera Installation

Check the installed browser version from the terminal. Stable uses the opera command.

opera --version

A successful command prints a single version string, for example:

130.0.5847.92

Opera GX uses a different launcher command.

opera-gx --version

The GX command prints its own installed version string:

130.0.5847.89

For Beta and Developer, run opera-beta --version or opera-developer --version.

Install Opera with Snap on Ubuntu

Snapcraft lists regular Opera, Opera GX, and regular Opera Developer under Opera’s verified publisher account. It does not currently provide a separate opera-beta Snap, and the Developer Snap is the regular Opera Developer channel, not a GX Developer build.

Check Snap support first. Recent Ubuntu desktop installs usually include snapd, but minimal systems may need it installed from Ubuntu’s repositories.

snap version
snap    2.75.2
snapd   2.75.2
series  16

If the command is missing, install snapd before using the Snap method.

sudo apt update
sudo apt install snapd

Choose one Snap package. The package name and launch command are the same except that terminal launches should use snap run for clarity.

Snap packageBrowser buildLaunch command
operaRegular Opera Stablesnap run opera
opera-gxOpera GX Stablesnap run opera-gx
opera-developerRegular Opera Developersnap run opera-developer

Install regular Opera Stable from Snapcraft with:

sudo snap install opera

Install Opera GX Stable with:

sudo snap install opera-gx

Install regular Opera Developer with:

sudo snap install opera-developer

Verify the installed Snap and tracking channel. Replace opera-gx with opera or opera-developer if you installed a different Snap.

snap list opera-gx
Name      Version        Rev  Tracking       Publisher         Notes
opera-gx  130.0.5847.89  11   latest/stable  opera-software**  -

Use snap info when you want to check current Snapcraft channels before installing or switching channels. Snapcraft can list testing channels such as latest/edge, but use the stable channel for Ubuntu 26.04, 24.04, and 22.04 unless you intentionally need a testing channel.

snap info opera
snap info opera-gx
snap info opera-developer

Install Opera GX with Flatpak on Ubuntu

Flathub provides Opera GX as com.opera.opera-gx for x86_64 Linux systems. This method installs the verified stable Flatpak branch for GX only; use APT or Snapcraft if you want the regular Opera browser, and use APT if you want Opera Beta.

Flathub also exposes a regular Opera app ID, com.opera.Opera, but its listing metadata describes it as an unverified wrapper rather than an Opera-supported package. This guide documents the verified GX Flatpak instead of mixing a supported GX listing with an unverified regular Opera wrapper.

Flathub app IDStatus in this guideReason
com.opera.opera-gxDocumentedOpera GX Flatpak listing is verified on Flathub.
com.opera.OperaNot used hereRegular Opera wrapper is not verified or supported by Opera.

Opera’s GX Linux page currently labels the Flatpak version as in active development, so treat Flathub as a GX store route rather than the conservative all-channel method. The APT repository remains the cleaner path when you want Opera’s own repository-managed packages.

Ubuntu does not install Flatpak by default. The Ubuntu Flatpak guide covers desktop integration and Flathub setup in more detail if you need the full Flatpak background.

Install Flatpak and add Flathub as a system remote. Keep the install, update, and remove commands at system scope so the method stays consistent.

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

If this is the first Flatpak setup on the desktop, sign out and back in before relying on application-menu integration. Terminal launch still works with flatpak run.

Check the current Flathub metadata before installing. The stable ref should show app/com.opera.opera-gx/x86_64/stable.

flatpak remote-info flathub com.opera.opera-gx
ID: com.opera.opera-gx
Ref: app/com.opera.opera-gx/x86_64/stable
Arch: x86_64
Branch: stable
Origin: flathub

Install Opera GX from Flathub.

sudo flatpak install flathub com.opera.opera-gx

Verify the installed Flatpak app.

flatpak info com.opera.opera-gx
ID: com.opera.opera-gx
Ref: app/com.opera.opera-gx/x86_64/stable
Arch: x86_64
Branch: stable
Origin: flathub
Installation: system

Opera Browser Download Notes for Ubuntu

The official Opera download page provides Linux downloads for the regular browser, and the Opera GX Linux page provides GX .deb and .rpm downloads. Those files are useful for manual installs, but the APT, Snap, and Flatpak methods above are easier to update and remove cleanly.

Opera’s Ubuntu packages come from Opera’s APT repository, not from a Launchpad PPA. If you see older instructions for an “Opera PPA,” use the repository setup above instead.

Opera Mini is a separate mobile-focused browser and is not the package you install for a normal Ubuntu desktop. Use Opera Stable or Opera GX for desktop Linux.

Launch Opera Browser on Ubuntu

After installation, open Opera from the application menu or launch the installed channel from the terminal.

Installed methodLaunch command
APT opera-stableopera
APT opera-gx-stableopera-gx
APT opera-betaopera-beta
APT opera-developeropera-developer
Snap operasnap run opera
Snap opera-gxsnap run opera-gx
Snap opera-developersnap run opera-developer
Flatpak com.opera.opera-gxflatpak run com.opera.opera-gx
opera

Update Opera Browser on Ubuntu

Update Opera APT Packages

Opera updates arrive through APT after the repository is configured. Refresh metadata and update the installed package when you want to update only Opera instead of every available system package.

sudo apt update
sudo apt install --only-upgrade opera-stable

Replace opera-stable with opera-gx-stable, opera-beta, or opera-developer if you installed a different APT channel. A normal Ubuntu package upgrade also updates Opera when a newer build is available.

Update Opera Snap Packages

Snap refreshes are automatic by default, but you can request an immediate refresh for the Opera Snap you installed. Run the matching command for your package.

sudo snap refresh opera
sudo snap refresh opera-gx
sudo snap refresh opera-developer

Update Opera GX Flatpak

Update the Flathub package at the same system scope used for installation.

sudo flatpak update com.opera.opera-gx

Remove Opera Browser from Ubuntu

Remove Opera APT Packages

Remove the APT package you installed. The following command removes all Opera APT channels shown here; delete package names you did not install if you only want to remove one channel.

sudo apt remove opera-stable opera-gx-stable opera-beta opera-developer

Then remove the Opera source files and keyring if you no longer want APT to offer Opera packages.

sudo rm -f /etc/apt/sources.list.d/opera.sources \
/etc/apt/sources.list.d/opera-stable.list \
/etc/apt/sources.list.d/opera-gx-stable.list \
/etc/apt/sources.list.d/opera-beta.list \
/etc/apt/sources.list.d/opera-developer.list

sudo rm -f /usr/share/keyrings/opera-browser.gpg
sudo apt update

Confirm APT no longer finds Opera packages from the removed repository.

apt-cache policy opera-stable
N: Unable to locate package opera-stable

APT may still list shared packages that were installed as dependencies. Review any autoremove plan before accepting it, especially on desktop systems where shared libraries or session packages can affect other applications.

sudo apt autoremove --dry-run

Remove Opera Snap Packages

Remove the Snap package you installed. Run the matching command for your package.

sudo snap remove opera
sudo snap remove opera-gx
sudo snap remove opera-developer

Snap can save a data snapshot after removal. Check saved snapshots and forget only the Opera snapshot you no longer need.

snap saved
sudo snap forget SNAPSHOT_ID

Remove Opera GX Flatpak

Remove the Flathub app at system scope, then remove unused Flatpak runtimes if Flatpak reports any.

sudo flatpak remove com.opera.opera-gx
sudo flatpak uninstall --unused

Browser profile data contains bookmarks, sessions, saved settings, and cache files. Check the directories first and remove only the profiles you no longer need.

find "$HOME/.config" "$HOME/.cache" "$HOME/snap" "$HOME/.var/app" -maxdepth 2 -type d \( -name 'opera*' -o -name 'Opera*' -o -name 'com.opera.opera-gx' \) 2>/dev/null

After reviewing the output, remove the matching Opera profile directories for your account if you want a full user-data cleanup.

rm -rf "$HOME/.config/opera" "$HOME/.cache/opera"
rm -rf "$HOME/.config/opera-gx" "$HOME/.cache/opera-gx"
rm -rf "$HOME/.config/opera-beta" "$HOME/.cache/opera-beta"
rm -rf "$HOME/.config/opera-developer" "$HOME/.cache/opera-developer"
rm -rf "$HOME/snap/opera" "$HOME/snap/opera-gx" "$HOME/snap/opera-developer"
rm -rf "$HOME/.var/app/com.opera.opera-gx"

Troubleshoot Opera Installation on Ubuntu

Fix Duplicate Opera Repository Warnings

If Opera’s package adds a legacy source file after you already created opera.sources, APT can warn that the same repository target is configured more than once.

W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera.sources:1

Keep the DEB822 file and remove the legacy Opera .list files.

sudo rm -f /etc/apt/sources.list.d/opera-stable.list \
/etc/apt/sources.list.d/opera-gx-stable.list \
/etc/apt/sources.list.d/opera-beta.list \
/etc/apt/sources.list.d/opera-developer.list

sudo apt update

Fix Opera GPG Key Errors

A missing or unreadable keyring can make APT reject Opera repository metadata.

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY

Recreate the keyring and refresh APT.

curl -fsSL https://deb.opera.com/archive.key | sudo gpg --dearmor --yes -o /usr/share/keyrings/opera-browser.gpg
sudo apt update

Fix Opera GX Package Name Errors

If you try to install the launcher name as a package, APT will not find it.

sudo apt install opera-gx
E: Unable to locate package opera-gx

Use the APT package name opera-gx-stable, then launch the browser with opera-gx.

sudo apt install opera-gx-stable
opera-gx

The name differs by method. For Snapcraft, sudo snap install opera-gx is correct. For Flathub, use com.opera.opera-gx.

Check Opera GX Beta and Developer Names

If you search for GX-specific pre-release package names, APT will not find them because the official Opera repository currently publishes only opera-gx-stable for GX.

apt-cache search '^opera-gx'
opera-gx-stable - Fast and secure web browser

Use opera-gx-stable for Opera GX. Use opera-beta or opera-developer only when you want the regular Opera pre-release channels.

Check Architecture When Opera Packages Are Missing

If apt-cache policy opera-stable shows no candidate after a clean repository setup, confirm the system architecture again.

dpkg --print-architecture

Stable, GX, and Beta packages are available from the Opera APT repository for amd64. On arm64 systems, check Opera’s current download and repository pages before choosing a channel because the package set differs.

Conclusion

Opera Browser on Ubuntu is best maintained through Opera’s official APT repository when you want the regular browser, Opera GX Stable, regular Opera Beta, and regular Opera Developer from one source. GX does not currently have separate Beta or Developer APT packages, so choose opera-gx-stable for GX or the regular pre-release packages for testing. Snapcraft adds store-managed regular Opera, GX, and Developer packages, while Flathub is best treated as the verified Opera GX Flatpak route.

Follow LinuxCapable

Want more LinuxCapable guides in Google?

Add LinuxCapable as a preferred source so Google can show more of our fresh Linux tutorials in Top Stories and From your sources when relevant.

Add LinuxCapable as a preferred source on Google
Search LinuxCapable

Need another guide?

Search LinuxCapable for package installs, commands, troubleshooting, and follow-up guides related to what you just read.

Found this guide useful?

Support LinuxCapable to keep tutorials free and up to date.

Buy me a coffeeBuy me a coffee

4 thoughts on “How to Install Opera Browser on Ubuntu 26.04, 24.04 and 22.04”

  1. You update opera before installation then instruct to select “NO” when asked by command terminal, ….. terminal does not give an option, … yes is red highlighted when it opens and cannot be changed.

    Reply
  2. my system responds: “Unable to locate package opera-stable” after following every previous step (repeatedly). is there something I can check that might be different on my system?
    Running:
    Operating System: Ubuntu Studio 22.04
    KDE Plasma Version: 5.24.7
    KDE Frameworks Version: 5.92.0
    Qt Version: 5.15.3
    Kernel Version: 6.5.0-35-lowlatency (64-bit)
    Graphics Platform: X11
    Processors: 12 × 12th Gen Intel® Core™ i5-1235U
    Memory: 15.3 GiB of RAM
    Graphics Processor: Mesa Intel® Graphics

    Reply
    • Hi Carl,

      Please open up /etc/apt/sources.list.d/opera.list, use nano for example sudo nano /etc/apt/sources.list.d/opera.list. What does it say in it?

      Seems like the package cannot be located, so this is a first step, as it could be many things.

      Thanks.

      Reply
Before commenting, please review our Comments Policy.
Formatting tips for your comment

You can use basic HTML to format your comment. Useful tags currently allowed in published comments:

You type Result
<code>command</code> command
<strong>bold</strong> bold
<em>italic</em> italic
<blockquote>quote</blockquote> quote block

Got a Question or Feedback?

We read and reply to every comment - let us know how we can help or improve this guide.

Let us know you are human: