How to Install Opera Browser on Pop!_OS 22.04 LTS

Opera is a freeware, cross-platform chromium-based browser developed by Opera Software. The browser features a built-in ad blocker, a VPN, and a social network aggregator. Opera has been downloaded more than 350 million times and is available in more than 90 languages. The browser was first released in 1996 and is based on Chromium’s open-source project. Opera also offers a mobile app for Android and iOS. Opera has been known for its speed, security, and reliability. The browser is also known for its innovative features, such as Opera Turbo, which compresses data to improve speeds, and Opera Unite, which allows users to share files and run applications without installing them on their computers. Opera also has an extensive collection of extensions and themes. In 2015, Opera was acquired by a consortium of Chinese companies.

In the following tutorial, you will learn how to install Opera Browser on Pop!_OS 22.04 LTS series that includes the stable, beta, and development (nightly) branch with steps to install, update and remove the browser using the command line terminal.

Update Pop!_OS

Before you begin with the tutorial, it is recommended to start with an upgrade and, if necessary, reboot to make sure all your system packages are up-to-date to avoid any issues.

sudo apt update && sudo apt upgrade

Install Required Packages

Next, run the following command to ensure the following dependencies are installed.

sudo apt install dirmngr ca-certificates software-properties-common gnupg gnupg2 apt-transport-https curl -y

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



Import & Install GPG Key & Repository

The installation is straightforward, importing the GPG key and repository straight from Opera.

The fantastic option for importing the APT repository rather than manually installing the .deb file from their website is that you can install alternative versions, such as Beta or Developer, alongside your stable browser.

Import GPG Key

curl -fsSL https://deb.opera.com/archive.key | gpg --dearmor | sudo tee /usr/share/keyrings/opera.gpg > /dev/null

Import Opera Repository

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

Install Opera Browser

Install Opera Browser Stable

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 -y

Note you will see when installing Opera Browser to configure to allow for more recent version upgrades.



Example:

How to Install Opera Browser on Pop!_OS 22.04 LTS

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

If you select “YES,” you will find that updating has multiple conflicts. See the troubleshooting at the end of the tutorial if you enable this to fix the issue.

Please note that you will be prompted to do this for each version stable, beta, and developer, so select <NO> every time you do a separate installation or double up on importing the “source.list”.

Install Opera Browser Beta

sudo apt install opera-beta -y

Note that the beta version is currently behind stable in most cases, so please be careful using it, thinking the beta is ahead of stable automatically. You could have an older client depending on Opera’s release cycle.

For those that want bleeding-edge, install the developer version.



Install Opera Browser Developer

sudo apt install opera-developer -y

How to 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:

opera

However, this is not practical for most desktop users, and you would use the following path on your desktop.

Applications > Search > Opera {version}.

Example:

How to Install Opera Browser on Pop!_OS 22.04 LTS

The first time you launch Opera, you will arrive at the screen where you click “LET’S GO” to customize your browser, such as selecting another theme as dark and other browser features. Each user’s Opera browser may look different compared to what you see in this tutorial.



Example:

How to Install Opera Browser on Pop!_OS 22.04 LTS

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

How to Update Opera Browser

Most desktop users rely on automatic updates or auto-update notifications, which can be ok. Still, given that you are learning to install the browser using a terminal, you should update by running 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.

How to Remove (Uninstall) Opera Browser

To remove Opera Browser, execute the following terminal command:

Remove Opera Browser Stable

sudo apt autoremove opera-stable --purge

Remove Opera Browser Beta

sudo apt autoremove opera-beta --purge

Remove Opera Browser Nightly

sudo apt autoremove opera-developer --purge

Note unused dependencies will also be removed.

Use the following command to delete the Opera Repository for users who will no longer install or want to install Opera Browser on their system.

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

Finally, delete the GPG key.

sudo rm /usr/share/keyrings/opera.gpg

Troubleshooting Multiple Sources.list

Please note you can install all three, but you may get issues with the apt update command with conflicts. However, each installation will create a new sources list in your /etc/apt/sources.list.d/ directory.



Just remove the extras and keep the original one. If you accidentally delete them, copy the import directory code in this tutorial.

Example of a quick fix.

sudo rm /etc/apt/sources.list.d/opera*

Then re-add the one repository.

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

Remember to run an APT update.

sudo apt update

This should fix the issue now, and you will still receive updates for all three browsers from one source.list instead of three.

Comments and Conclusion

In conclusion, Opera is a great browser that offers many features and benefits. The browser is fast, secure, reliable, and has an extensive collection of extensions and themes. If you are looking for a great alternative to other browsers, then Opera should be your go-to choice.




Not what you were looking for? Try searching for additional tutorials.

Leave a Comment