Opera may not be one of the most popular and famous web browsers today, but it is a fast browser and offers many useful features. It is supported on almost all major OS platforms, such as Windows, Linux, and Mac. Its main feature, due to which most users prefer it, is its built-in browser-based VPN. Some of its other features are as follows:
- Built-in Adblocker
- Pop-up Blocker
- Saves battery
- Video popup
- Snapshot Tool
This article is about installing the Opera browser on Debian. We will describe both the command line and GUI ways to install the Opera browser on your system.
The commands and procedures mentioned in this article run on a Debian 10 system.
Install Opera via the command line
To open a command-line application in Debian, go to the Actions tab located in the upper left corner of the desktop. Then use the search bar to find the terminal. When the terminal icon appears, click on it to open.
Method 1 # Download and install Opera from the official site
Follow the steps below to download and install Opera from the official site using Terminal.
1. Enter the following command in Terminal to load Opera using the wget command.
$ wget https://download3.operacdn.com/pub/opera/desktop/60.0.3255.27/linux/opera-stable_60.0.3255.27_amd64.deb
This will take some time depending on the network speed. The downloaded package will be saved in the current working directory as a .deb file.
2. After downloading, run the following command in Terminal to install the .deb package.
$ sudo dpkg -i opera-stable_60.0.3255.27_amd64.deb
Now Opera browser will be successfully installed on your system. To start Opera, simply enter the following command in Terminal:
To remove the Opera browser installed in the above way, enter the following command in the Terminal:
$ sudo dpkg –r opera-stable
Opera browser will now be removed from your system.
Method 2 # Install Opera from the official repository
Opera is not available in the Debian OS kernel repositories. Therefore, to install it, we will need to manually add its repository to our Debian system. Follow these steps to add a repository and install Opera:
1. First enter the following command in Terminal to add the GPG key for the Opera repository.
$ wget -qO- https://deb.opera.com/archive.key | sudo apt-key add –
If the results show OK, this will mean that the GPG key has been successfully added.
2. Now run the following command to add the Opera repository to your Debian system:
$ sudo add-apt-repository "deb [arch=i386,amd64] https://deb.opera.com/opera-stable/ stable non-free"
3. After adding the repository, update the local apt repository using the following command in Terminal:
$ sudo apt update
4. Since our system was updated using the Opera repository, we can now install Opera by executing the following command in the Terminal:
$ sudo apt install opera-stable
The system will ask for confirmation by providing you with the Y / n option. Press y to confirm, and Opera will be installed on your system.
After installation, you can launch the just installed Opera browser by entering the following command in the Terminal:
1. In case you want to remove Opera through the command line, enter the following command in Terminal:
$ sudo apt-get remove opera-stable
2. The above command will remove Opera, but will not delete the repository located on the system. To remove this too, enter the following command:
$ sudo apt-delete-repository "deb [arch=i386,amd64] https://deb.opera.com/opera-stable/ stable non-free
3. You can also remove the GPG keys that you added for installation. To find the key, enter the following command in Terminal:
$ sudo apt-key list
It will list all the keys added to your system.
4. From the above list, find the key for the opera. Once you find the key, write down the last 8 characters, which are the key identifier. Then delete the key as follows:
$ sudo apt-key del key-ID
Opera will now be completely removed from your system.
Method number 3 Install Opera via Snap
Opera can also be installed via the Snap package. But before that, we will need to first install snapd in our system. To do this, run the following commands in the Terminal:
$ sudo apt update
$ sudo apt install snapd
Now, to install the Opera snap package, run the following command in Terminal:
$ snap install opera
To remove Opera installed through the binding, run the following command in Terminal:
$ sudo snap remove opera
Install Opera via GUI
For those who are not familiar with the command line, you can use the following graphical method of installing Opera.
Install the Opera .deb package downloaded from the official site
Open the following official Opera page to download Opera for Linux.
When the page opens, click on Download now Button to download the Opera .deb package.
By clicking the Download Now button, you will see the following dialog box. Press Save file and the Opera package will be saved in your download directory.
Now go to the download directory using the file manager. Locate the downloaded package and right-click it. In the menu that appears, select Open with another application,
You will see the following Choose application dialog window. Select Software installation option and then click Select,
Next, you will see the following installer, open in the Debian Software Center. Press install Button for installing Opera browser.
The following authentication dialog box appears. Enter the password for the authorized user and click Authenticate,
The installation process will begin and you will see a progress bar, as shown in the following screenshot.
When the installation is complete, you will see the following dialog box.
You can launch Opera by searching the list of applications.
If you want to remove Opera using the GUI method, go to the Downloads directory and right-click on the opera .deb package. Select Open with another application and then select Software installation option.
From there you can remove Opera by clicking Delete button. A dialog box will appear, click again Delete button, and you will be asked to enter a password for authentication. Enter your password and click Authenticate button. Opera will now be removed from your system.
In this article, we learned how to install the Opera browser using various command line and GUI methods. Now you can install the recently installed Opera as your default browser. How to achieve this depends on the browser, but almost all browsers allow you to do this. Enjoy faster browsing with Opera!
4 ways to install Opera browser in Debian 10