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, with a built-in VPN and much more.
In the following tutorial, you will learn how to install Opera Browser on AlmaLinux 9 workstation desktop with optional branches stable, beta, or the nightly development version using the command line terminal with tips on maintaining and removing the browsers if required.
Table of Contents
Update AlmaLinux
First, update your system to ensure all existing packages are up to date to avoid any potential conflict issues during the installation.
sudo dnf upgrade --refresh -y
Import Opera Repository
By default, Opera Browser is not included in the standard AlmaLinux appstream. However, you can quickly create and import the official repository on your system by doing the following.
Import Opera GPG Key
sudo rpm --import https://rpm.opera.com/rpmrepo.key
Import Opera Repository
sudo dnf config-manager --add-repo https://rpm.opera.com/rpm
Optionally, you can update your repository list to reflect the new repository changes.
sudo dnf upgrade --refresh
Install Opera Browser
Install Opera Browser Stable
Now that you have imported the repository, you can now be installed Opera using the following.
Now install the software with the following command:
sudo dnf install opera-stable -y
Optional. Install Opera Browser Beta or Developer build
Alternatively, you can install 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 dnf install opera-beta -y
Install Opera Browser Developer
sudo dnf install opera-developer -y
Note these do not replace your stable version, and they are installed separately.
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
Ideally, most desktop users will not open a terminal each time to launch the Opera Browser, so use the following path to launch the application icon. Do not forget to pin it if this is your everyday browser by right-clicking the icon.
Activities > Show Applications > Opera Browser {version}
Alternatively, if you cannot find it, use the search function in the Show Applications menu if you have many applications installed.
Example:
Now open Opera Browser, and you will see the landing page. From here, you can customize the browser to suit your tastes and needs, and it is a beautiful browser with plenty of eye candy while maintaining excellent performance.
Congratulations, you have installed Opera Browser.
How to Update/Upgrade 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.
How to Remove (Uninstall) Opera Browser
To remove Opera Browser, execute the following terminal command. Remember to replace the stable version with beta or developer if you use an alternative arrangement.
Remove Opera Browser Stable
sudo dnf autoremove opera-stable
Remove Opera Browser Beta
sudo dnf autoremove opera-beta
Remove Opera Browser Developer
sudo dnf autoremove opera-developer
Note unused dependencies will also be removed.
Ideally, you will want to disable the repository using the following command.
sudo dnf config-manager --set-disable rpm.opera.com_rpm
Comments and Conclusion
Opera uses the Chromium page-rendering engine, so you’ll rarely encounter 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.