How to Install Opera Browser on CentOS 9 Stream

Opera is a freeware, cross-platform Internet web browser by Opera Software and operates as a Chromium-based browser. Opera offers a clean, modern browser that’s another to the opposite major players within the Browser race. Its famous Opera Turbo mode and renowned battery saving mode are the simplest amongst all known web browsers by quite a margin, together with a built-in VPN and far more.

In the following tutorial, you will learn how to install Opera Browser stable, beta, or developer (nightly) on CentOS 9 Stream Workstation by importing the official repository and GPG key, then how to update in the future or remove.

Situational – Remove DNF Subscription Manager

For users who encounter issues with “This system is not registered with an entitlement server. You can use subscription-manager to register,” then use the following command to remove the subscription manager as it is unnecessary for CentOS stream to receive updates, unlike RHEL.

sudo dnf erase subscription-manager -y

Example output:

How to Install Opera Browser on CentOS 9 Stream

As mentioned above, all the subscription-based lockouts have been removed.

Update CentOS Stream

Before you continue, your system is advised to ensure all existing packages are up to date to avoid system conflicts during the installation and good system maintenance.

sudo dnf upgrade --refresh -y

Import Opera Repository

By default, Opera Browser is not included in the standard appstream. However, you can quickly create and import the official repository on your system by doing the following.

First, create and open up the repository file using any text editor:

sudo nano /etc/yum.repos.d/opera.repo

Next, copy and paste the following.

[opera]
name=Opera packages
type=rpm-md
baseurl=https://rpm.opera.com/rpm
gpgcheck=1
gpgkey=https://rpm.opera.com/rpmrepo.key
enabled=1

Once done, save the file CTRL+O then exit with CTRL+X.

Note this will import the GPG key also for the installation. If the GPG fails to import for some reason, import it manually using the following command:

sudo rpm --import https://rpm.opera.com/rpmrepo.key

Install Opera Browser of Choice

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 dnf update --refresh

Now install the software with the following command:

sudo dnf install opera-stable -y

Verify Opera Browser Stable Version

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

opera --version

Example output:

How to Install Opera Browser on CentOS 9 Stream

Install Opera Browser Beta or Developer build

Alternatively, you can install Opera 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.

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

Install Opera Browser Beta

sudo dnf install opera-beta -y

Verify Opera Browser Beta Version

opera-beta --version

Example output:

How to Install Opera Browser on CentOS 9 Stream

Install Opera Browser Developer

sudo dnf install opera-developer -y

Verify Opera Browser Developer Version

opera-developer --version

Example output:

How to Install Opera Browser on CentOS 9 Stream

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

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: Activities > Show Applications > Opera.

Alternatively, if you cannot find it, use the search function in the Show Applications menu if you have many applications installed.

Example:

How to Install Opera Browser on CentOS 9 Stream

Now open Opera Browser, you will see the landing page.

From here, you can modify the design of your tabs to any style you prefer; visiting the browser help, the official documentation from Opera will explain almost unlimited ways to customize your browser.

Example (Click Image to Expand):

How to Install Opera Browser on CentOS 9 Stream

Congratulations, you have installed Opera Browser.

How to Update Opera Browser

To update, run the dnf refresh in your terminal as you would check your entire system for any updates, including from the Opera repository.

sudo dnf upgrade --refresh

This should be run as often as possible.

Remove (Uninstall) Opera Browser

To remove the Vivaldi Browser, execute the following terminal command:

Remove Opera Browser Stable

sudo dnf remove opera-stable -y

Remove Opera Browser Beta

sudo dnf remove opera-beta -y

Remove Opera Browser Developer

sudo dnf remove opera-developer -y

For users that installed all three versions, you can blanket remove them all with the following command.

sudo dnf remove opera* -y

Next, remove the file that you created to import the Opera repository.

sudo rm /etc/yum.repos.d/opera.repo

Comments and Conclusion

In the tutorial, you have learned how to import the Opera repository into the dnf source list and install the web browser by choosing either stable, beta, or developers branches on CentOS 9 Stream.

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.

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



Follow LinuxCapable.com!

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