Website Vidya
Linux & ServersStep-by-Step Guide

How to Install Opera Web Browser on Ubuntu 24.04

Step-by-step guide on how to install Opera web browser on Ubuntu 24.04 LTS using the official APT repository, deb packages, or Snap store.

RR
Rajesh RayLead Systems Educator
Published:
6 min read
PDF Cheat Sheet
How to Install Opera Web Browser on Ubuntu 24.04
AI Executive SummaryWebsiteVidya AI

6 min read

Step-by-step guide on how to install Opera web browser on Ubuntu 24.04 LTS using the official APT repository, deb packages, or Snap store.

Key Highlights
  • Prerequisites and Supported Releases
  • Step 1: Updating System Repositories and Installing Prerequisites
  • Step 2: Method 1 (Recommended) — Adding the Official Opera APT Keyring
Grounded in full engineering runbookWebsiteVidya AI Engine

Opera is a fast, highly customizable Chromium-based web browser renowned for its rich built-in feature set: a native ad blocker, free unlimited VPN proxy, integrated sidebar messengers (WhatsApp, Telegram, and Discord), battery saver mode, and native crypto wallet. Built on Google's Blink rendering engine, Opera combines full compatibility with the vast Chrome Web Store ecosystem with unique workflow enhancements.

While Ubuntu 24.04 ships with Mozilla Firefox as its default browser, many users and developers rely on Opera for cross-browser testing, privacy protections, and social integration. Learning how to install opera web browser on ubuntu 24.04 gives you access to the stable, beta, and developer release channels with automatic background repository updates.

In this comprehensive tutorial, we cover the three established methods to install Opera on Ubuntu 24.04 LTS (Noble Numbat): configuring the official Opera APT repository with verified GPG keyrings (the recommended standard), installing via standalone Debian packages, and using the containerized Snap package. We also address proprietary multimedia codec playback (H.264 / Widevine DRM) and clean removal.

Advertisement

Prerequisites and Supported Releases

This guide is thoroughly verified on Ubuntu 24.04 LTS (Noble Numbat). The instructions apply cleanly to cloud instances (AWS EC2, Google Compute Engine, DigitalOcean, Hetzner), bare-metal servers, and local virtual machines.

Before proceeding, ensure you have the following requirements satisfied:

  • A desktop installation of Ubuntu 24.04 LTS with a graphical display server (GNOME, XFCE, or KDE).
  • A user account with administrative sudo privileges.
  • An active internet connection to download deb packages from Opera mirrors.
  • Basic familiarity with terminal commands and package management.

Step 1: Updating System Repositories and Installing Prerequisites

Before configuring third-party software repositories, ensure your local APT package database is refreshed and that essential downloading and cryptography tools are installed.

Run the following command to update package lists and verify that ca-certificates, curl, and gnupg are available.

Advertisement

These utilities allow APT to fetch cryptographic keys and verify package integrity over HTTPS connections.

# Update repository indices
sudo apt update && sudo apt upgrade -y

# Install prerequisite security and networking utilities
sudo apt install -y ca-certificates curl gnupg apt-transport-https

The most reliable method to install Opera and receive continuous security updates is configuring the official Opera APT repository.

In modern Ubuntu 24.04 LTS installations, third-party GPG signing keys must be stored in de-armored binary format inside dedicated keyring directories at /etc/apt/keyrings rather than using deprecated commands like apt-key add.

Create the directory if missing, download the official Opera public signing key, de-armor it, and assign standard 0644 permissions.

Advertisement
# Ensure keyrings directory exists with secure permissions
sudo mkdir -p -m 0755 /etc/apt/keyrings

# Download and de-armor the official Opera GPG key
curl -fsSL https://deb.opera.com/archive.key | sudo gpg --dearmor -o /etc/apt/keyrings/opera-browser.gpg

# Set correct read permissions
sudo chmod 0644 /etc/apt/keyrings/opera-browser.gpg

Step 3: Configuring the Opera Repository Source

With the signing key installed, add the official Opera repository entry to your system's package sources list.

Create a new source file at /etc/apt/sources.list.d/opera-stable.list, explicitly referencing the GPG keyring file.

Then refresh your local package database so that APT indexes the newly available Opera packages.

# Add Opera repository entry referencing the GPG keyring
echo 'deb [signed-by=/etc/apt/keyrings/opera-browser.gpg] https://deb.opera.com/opera-stable/ stable non-free' | sudo tee /etc/apt/sources.list.d/opera-stable.list

# Refresh local package index
sudo apt update

Step 4: Installing Opera Stable via APT

Now install the stable release of the Opera browser using APT.

During the installation process, a debconf dialog may prompt: 'Do you want to configure Opera to receive updates automatically alongside the regular system updates?'.

Because you already configured the dedicated keyring in Step 3, choose No to avoid creating a duplicate repository file in /etc/apt/sources.list.d/.

Verify that the installation completes cleanly.

# Install Opera stable package
sudo apt install -y opera-stable

# Check installed binary version
opera --version

Step 5: Method 2 — Installing via Standalone Debian Package (.deb)

If you prefer a direct offline installer, you can download the official 64-bit .deb package directly from Opera's download servers.

Use wget to download the package into your ~/Downloads folder.

Install the downloaded package using sudo apt install ./opera-stable_*.deb, which automatically resolves any secondary desktop dependencies.

# Navigate to Downloads directory
cd ~/Downloads

# Download official Opera deb package
wget https://download3.operacdn.com/pub/opera/desktop/114.0.5282.115/linux/opera-stable_114.0.5282.115_amd64.deb -O opera-stable.deb

# Install via APT to resolve dependencies
sudo apt install -y ./opera-stable.deb

# Clean up downloaded deb file
rm opera-stable.deb

Step 6: Method 3 — Installing Opera via Snap Package

For users who prefer containerized desktop applications with automatic background updates, Opera is also distributed as an official Snap package maintained directly by Opera Software.

Because Snap is pre-installed on Ubuntu 24.04 LTS, you can install Opera with a single terminal command.

Verify the Snap package status after installation.

# Install Opera browser using Snap
sudo snap install opera

# Verify Snap installation status
snap list opera

Step 7: Launching Opera and Enabling Proprietary Video Codecs

You can launch Opera from the graphical application menu by searching for Opera, or by executing opera & in your terminal.

When streaming media on sites like Netflix, Spotify, or Twitter, you may encounter missing H.264 and AAC codec errors due to licensing restrictions in Chromium builds.

To resolve multimedia playback issues, install the Chromium FFmpeg codecs package and symlink the shared object library to Opera's library directory.

# Install Chromium FFmpeg extra codecs
sudo apt install -y chromium-codecs-ffmpeg-extra

# Symlink the libffmpeg.so library to Opera directory if video fails
sudo mkdir -p /usr/lib/x86_64-linux-gnu/opera/lib_extra
sudo ln -sf /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/lib_extra/libffmpeg.so

Step 8: Updating and Uninstalling Opera on Ubuntu 24.04

If installed via the official APT repository, Opera updates automatically whenever you run standard system upgrades with sudo apt update && sudo apt upgrade.

Snap installations update automatically in the background.

If you ever need to uninstall Opera completely from your system, execute the corresponding removal command below.

# Uninstall Opera installed via APT
sudo apt purge -y opera-stable && sudo apt autoremove -y
sudo rm -f /etc/apt/sources.list.d/opera-stable.list /etc/apt/keyrings/opera-browser.gpg

# Or uninstall Snap version:
# sudo snap remove opera

Troubleshooting and Common Errors

When configuring Ubuntu servers, unexpected permission errors, network timeouts, or lock contention can occur. Review these common issues and verified resolutions:

Videos fail to play on Twitter, Netflix, or streaming sites

Resolution: This is caused by missing proprietary H.264 FFmpeg codecs in the Linux build. Install the codecs using sudo apt install -y chromium-codecs-ffmpeg-extra and link libffmpeg.so to /usr/lib/x86_64-linux-gnu/opera/lib_extra/.

Duplicate repository warning during 'apt update'

Resolution: If Opera created a second list file at /etc/apt/sources.list.d/opera-stable.list.save or inside /etc/apt/sources.list, remove the duplicate entry and keep only the modern keyring-referenced file.

Opera crashes on launch under Wayland display session

Resolution: Launch Opera with native Wayland flags by executing opera --enable-features=UseOzonePlatform --ozone-platform=wayland or switch your desktop session to 'Ubuntu on Xorg' at the login screen.

Security Best Practices and Hardening

Always verify that the Opera repository entry references the de-armored GPG key at /etc/apt/keyrings/opera-browser.gpg to guard against man-in-the-middle package tampering.

Review built-in Opera browser privacy settings, and configure DNS-over-HTTPS (DoH) for encrypted DNS queries.

Keep the browser updated promptly to patch Chromium zero-day security vulnerabilities and rendering engine exploits.

Disable third-party tracking cookies and review installed extension permissions regularly in opera://extensions.

Deepen your Linux system administration skills with our related production-tested guides:

Authoritative References and Official Documentation

Frequently Asked Questions

Quick answers to common questions and configurations

3 FAQs
Yes! Because Opera is built on the Chromium engine, you can browse to the Chrome Web Store and install any Chrome extension directly into Opera with one click.
Opera's built-in VPN functions as an encrypted secure browser proxy (HTTPS proxy) rather than a system-wide network tunnel. It shields web browser traffic without routing other applications.
Open Ubuntu Settings > Default Applications, locate Web, and select Opera from the dropdown menu, or execute xdg-settings set default-web-browser opera.desktop.
RR
Written byVerified Author

Rajesh Ray

I’m Rajesh Rai, a full-stack developer, Linux administrator, and technology enthusiast passionate about making complex technology easier to understand and use.

SPAM-FREE MODERATED DISCOURSE

Join the Conversation & Perspective

Have thoughts, counterpoints, or reflections on this story? Engage directly with fellow readers and editorial contributors.

AT
MP
JV
+2

No comments on this guide yet. Be the first to share your thoughts or ask a question!

Recommended Reading10 Guides

Related Technical Guides

Tested runbooks, server administration walkthroughs, and troubleshooting guides

Featured Infrastructure PartnerUp to 75% OFF + 3 Months Free

Supercharge Your Linux & Cloud Workloads with Hostinger

Deploy high-speed NVMe KVM VPS, Docker containers, and LiteSpeed-accelerated WordPress servers in under 60 seconds with full root access, dedicated IPv4, and 24/7 technical support.

Pure NVMe SSD StorageFull Root Access & SSHFree Domain & Unlimited SSL99.9% Uptime SLA
Plans from$2.99/mo
Claim Hostinger DealAffiliate link • Special discount applied at checkout