Jumat, 17 Mei 2019

Installation through the Command Line

In order to install Opera web browser through the command line, please follow these steps:
1. Open the Terminal through Ubuntu Dash or the Ctrl+Alt+T shortcut and then enter the following command:
$ wget -qO- https://deb.opera.com/archive.key | sudo apt-key add -
This command will add the Opera keyring.
Tip: You can also copy this command from this tutorial by selecting and copying it through Ctrl+c and then pasting it in the Terminal by right-clicking at the cursor location, and then clicking Paste from the menu.
Add Opera Keyring
Opera is free for Linux systems.
2. Enter the following command in order to add the Opera repository from the official Opera website:
$ sudo add-apt-repository "deb [arch=i386,amd64] https://deb.opera.com/opera-stable/ stable non-free"
Add Opera repository
3. Now that the repository has been added, you can install the opera-stable package through the following command:
$ sudo apt install opera-stable
Please enter y when prompted with a y/n option.
If the following message appears on your system, you can enter Yes if you want your system to update Opera as new versions and updates are released.
Install Opera with apt
The Opera web browser will then be successfully installed on your system. You can now access Opera through the Terminal by entering this command:
$ opera

Uninstall Opera

1. In order to uninstall Opera through the command line, enter the following
$ sudo apt-get remove opera-stable
2. The repository you added will still be residing on your system. Enter the following command in order to remove it:
$ sudo apt-delete-repository "deb [arch=i386,amd64] https://deb.opera.com/opera-stable/ stable non-free
3. Since you had already added a key, you can also wish to remove it. The following command lists all the keys you have added to your system:
$ sudo apt-key list
apt-key list
The important part is to locate the key for Opera and then noting/copying the last 8 alphanumeric characters of the key. You can use this ID to delete a key as follows:
$ sudo apt-key del A5C7 FF72
Delete the Opera key
Opera will now be completely removed from your system.

Install Opera through Ubuntu Software

For a person who does not want to open the Command Line much, installing a software present in the Ubuntu repository through the UI is very simple. On your Ubuntu desktop Activities toolbar, click the Ubuntu Software icon.
Ubuntu Software
Click the search icon and enter Opera in the search bar. The search results will list the Opera entry as follows:
Type Opera in search bar
Click the Opera entry from the search results. The following dialog will appear:
Opera GUI installer
Click the Install button to begin the installation process. The following authentication dialog will display for you to provide the authentication details for a root user as only an authorized user can install a software on Ubuntu.
Authenticate the admin
Enter your password and click the Authenticate button. After that, the installation process will begin, displaying a progress bar as follows.
Opera installing
Opera will then be installed to your system and you will get the following message after successful installation:
Launch Opera
Through the above dialog, you can choose to directly launch Opera and even Remove is immediately for whatever reason.
You can launch Opera any time you want by entering Opera in Ubuntu Dash or access it from the Applications list.
Search Opera application on Desktop

Uninstall Opera

In order to uninstall Opera through the Ubuntu Software, click the Ubuntu Software icon on your Ubuntu desktop Activities toolbar. Search for Opera through the Search button and then click Remove.
Uninstall Opera
Click the Remove button on the opened dialog after which the Authentication dialog will display for you to enter a password of the root user. Enter the password and click Authenticate.
The Opera web browser will then be removed from your system.

Install Opera .deb package downloaded from the official website

1. Open the Official Opera website through an already installed web browser and download the .deb package as follows:
Download Opera .deb Package
2. When you click the Download now button, the following dialog will display:
Save file
3. Select the Save File option and then click OK. The .deb package will be saved to your Downloads folder.
4. Open the Downloads folder and right-click the Opera .deb package and then click Open With Software Install option from the menu. The following dialog will open in Ubuntu Software:
Launch Opera installer
5. Click the Install button. The following authentication dialog will display for you to provide the authentication details for a root user as only an authorized user can install a software on Ubuntu.
Get sudo permissions
Enter your password and click the Authenticate button. After that, the installation process will begin, displaying a progress bar as follows.
Installing the application
The following dialog will indicate the successful installation of Opera on your system.
Opera successfully installed
You can now access it through the Dash or the Applications list.

Uninstall

Right-click the Opera .deb package and click Open With Software Install from the menu. Click the Install button and then provide authentication details. You can then remove Opera by clicking the Remove button as follows:
Uninstall the app
Click the Remove button on this dialog and then provide authentication details. Opera will then be removed from your system.
In this article, you learned to install and uninstall the popular Opera web browser through the command line, the Ubuntu Software and also through a .deb package that you can download from the official Opera website.

Tidak ada komentar:

Posting Komentar