How to install Opera Browser on Debian 12

Endrit Qerreti

Endrit Qerreti

Opera Browser is a free browser that is based on the open source web browser "Chromium", a browser which is created by Google.

Even though Opera browser uses Chromium for their browser engine, Opera Browser comes with a lot of different features, which makes it a unique browser.

Opera is a cross platform browser, which means you can run Opera on Linux and operating systems such as : Windows, MacOS, Android and IOS.

On Debian 12, Opera can be installed via the terminal, once you have added its apt repository on your system.

In this tutorial, you will learn how to install Opera Browser on Debian 12.

Installing Opera Browser on Debian 12

Step 1 - Add Opera Browser GPG Key

Before starting to install Opera Browser on your Debian 12 machine, you need to import Opera Browser's GPG key, in order to be able to install Opera Browser from the official Opera repository.

To add Opera's GPG key on your machine, run the command below

wget -qO- | gpg --dearmor | sudo dd of=/usr/share/keyrings/opera-browser.gpg

Step 2 - Add Opera Browser Repository

Once you have added Opera GPG key on your system, proceed to import the repository on your system.

Adding Opera's repository is very easy, and it can be done by running the command below.

Once you execute the command below, the repository file will be created on your machine.

echo "deb [signed-by=/usr/share/keyrings/opera-browser.gpg] stable non-free" | sudo dd of=/etc/apt/sources.list.d/opera-archive.list

Step 3 - Update Debian 12

Next, update your Debian 12 packages, via the default package manager.

sudo apt update

Step 3 - Install Opera Browser

Now you can proceed to install Opera Browser on your Debian 12 machine.

Installing Opera Browser is very easy, and all you have to do is run the command below to do so.

sudo apt install opera-stable -y

The command above will install Opera stable version.

Step 4 - Launch Opera Browser

Opera Browser should now be installed on your Debian 12 machine, and you should also be able to start using it.

Opera browser can be easily launched from the Applications menu on your system, and it should appear listed under the Internet category. Though this depends on the desktop environment that you are using on your Debian 12 machine.

Click "Opera Browser" icon to launch it

Uninstalling Opera Browser on Debian 12

To uninstall Opera Browser, you can do so by running the command below

sudo apt remove opera-stable


In this tutorial, you learned how to install Opera Browser on Debian 12, by using its official repository.

Even though we wrote this tutorial for Debian 12, you should be able to install Opera Browser on other Debian versions, and Debian based distros such as Ubuntu by following our tutorial.