How to Install Opera Browser on elementary OS 6

Opera is a freeware, cross-platform web browser developed by Opera Software and operates as a Chromium-based browser. Opera offers a clean, modern web browser that is an alternative to the other major players in the Browser race.

Its famous Opera Turbo mode and its renowned battery saving mode are the best amongst all known web browsers by quite a margin, along with a built-in VPN and much more.

In the following tutorial, you will learn how to install Opera Browser stable, beta, or development (nightly) on elementary OS.

Update System

Update your elementary OS system to make sure all existing packages are up to date:

sudo apt update && sudo apt upgrade -y

Install Dependecies

To complete the installation, you will need to install the following software packages by using the following command in your terminal.

sudo apt install software-properties-common apt-transport-https curl wget -y

If you are unsure, run the command; it will not harm you.

These are the most common software packages found on nearly all Linux distributions.

Import & Install GPG Key & Repository

For elementary OS systems, the three repository branches currently need to be imported individually on your system. Once done, they are automatically added to your repolist, so you will not need to re-download these to update Brave in the future.

First, import the GPG required to check the authenticity of the repository downloads. Without this, your installation of the browser will fail.

wget -qO- | sudo apt-key add -

Example output if successful:


Import Opera Browser Stable Repository & GPG Key (Recommended):

sudo add-apt-repository "deb [arch=i386,amd64] stable non-free"

Optional. Import Beta or Developer Builds

Import Opera Browser Beta Repository & GPG Key:

sudo add-apt-repository "deb [arch=i386,amd64] stable non-free"

Import Opera Browser Developer Repository & GPG Key:

sudo add-apt-repository "deb [arch=i386,amd64] stable non-free"

Install Opera Browser

Now that you have imported the repository, you can now be installed Opera using the following.

First, update your repository list to reflect the new repository changes:

sudo apt update

Now install the software with the following command:

sudo apt install opera-stable

Example output:

Install Opera Browser on elementary OS 6

Type Y, then press the ENTER KEY to proceed with the installation.

Note, you will see when installing Opera Browser to configure to allow for newer version upgrades.


Install Opera Browser on elementary OS 6

Select <Ok> to proceed to the next screen, which you will get an option to select <Yes> or <No>.

Select “YES,” then press the “ENTER KEY” to finish the installation.

Once installed, confirm the version of Opera Browser installed. This will also verify the installation was successful.

opera --version

Example output (This will change):


Optional. Install Opera Browser Beta or Developer build

Alternatively, you can install Brave Beta or Developer builds if you have downloaded the repositories. These two versions are not recommended daily, especially not on a main desktop or production server.

However, you can install alternative versions for those who want to live on the edge.

Install Opera Browser Beta:

sudo apt install opera-beta -y

Install Opera Browser Developer:

sudo apt install opera-developer -y

Note these do not replace your stable version, and they are installed separately.

Next, verify the beta installation or unstable, use the following command.

Verify Opera Browser Beta:

opera-beta --version

Example output (This will change):


Verify Opera Browser Developer:

opera-developer --version

Example output (This will vary):


Launch Opera Browser

With the installation complete, you can run Opera in a few different ways.

First, while you are in your terminal, you can use the following command:


Alternatively, run the opera & command in the background to free up the terminal:

opera &

However, this isn’t practical, and you would use the following path on your desktop to open with the path: Applications > Search > Opera.


Install Opera Browser on elementary OS 6

Now open Opera Browser, you will see the landing page. From here, you can further customize it or keep the default theme which is unique compared to most other browsers.

Install Opera Browser on elementary OS 6

Congratulations, you have installed Opera Browser.

How to Update Opera Browser

To update, run the APT update command in your terminal as you would check your entire system for any updates.

sudo apt update

If one is available, use the upgrade option:

sudo apt upgrade

Alternatively, you can upgrade the Opera Browser package if an update is available.

Example for stable:

sudo apt upgrade opera-stable

Add “-beta” or “-developer” at the end if you installed other Browser versions.

Remove (Uninstall) Opera Browser

To remove Opera Browser, execute the following terminal command:

Example removing Opera stable branch:

sudo apt remove opera-stable --purge

Example removing Opera beta branch:

sudo apt remove opera-beta --purge

Example removing Opera developer branch:

sudo apt remove opera-developer --purge

Note unused dependencies will also be removed.

Next, you will need to remove the repositories from your system. This time you are adding the “r” flag, which instructs to remove the entry. This command is the same as adding the repository as you did initially.

Remove the stable repository:

sudo add-apt-repository -r "deb [arch=i386,amd64] stable non-free"

Remove the beta repository:

sudo add-apt-repository -r "deb [arch=i386,amd64] stable non-free"

Remove the developer repository:

sudo add-apt-repository -r "deb [arch=i386,amd64] stable non-free"

Comments and Conclusion

In the tutorial, you have learned how to import the Opera repository into the apt source list and install the web browser by choosing either stable, beta, or developers branches on elementary OS 6.

Overall, Opera uses the Chromium page-rendering engine, so you’ll rarely run into site incompatibilities. Performance is fast, perhaps not the feast in the field. Still, it keeps its own and has unique features that make this an attractive alternative for many mainstream Linux users who want something different besides Firefox that comes standard on nearly all Linux machines.


Like to get automatic updates? Follow us on one of our social media accounts!