How to install, and run the Opera 20 for Windows, under Linux box, using the Wine app.

This tutorial is for testing, and research purposes, and shows, how one can install, and run the Opera 20 for Windows, on Linux boxes, using the Wine application. You should be also aware, that it is intended for a bit more advanced Linux user, and not for the ordinary user of this os.

Download latest Opera 20, run the installer, and click the "Options" button:

Within the next window select your language, then choose the path on the right of the "Install path", e.g. "C:\Program Files\Opera20usb", and then select the "Stand-alone installation (USB)" within the selectbox on the right of the "Install for", then click the "Accept and Install" button:

After installation, the Opera should launch automatically - close it, and then connect the usb stick (or portable hard drive) to your computer. Create a directory on the usb stick, eg "opera20usb", and then create the "profile" subdir, and then create the "data" subfolder in it. Go to the installation root (which was selected in step 1), and copy the "20.0.1387.64" directory, to the "opera20usb" on your usb drive, then go to the "...opera20usb\profile\data", and copy the "dictionaries" folder, the "Local State", and the "Preferences" files, to the "data" subfolder on your usb drive.

Run the Linux box (small note: there must be installed the Wine apps), connect your usb drive, and copy the "opera20usb" directory, to the "Program Files" subfolder in the Wine user profile directory: "~/.wine/drive_c/Program\ Files/",

To start the Opera under Wine, we need the "bcrypt.dll" - Windows cryptographic primitives library (Wow64). You can download the zip archive from here, then unpack the "bcrypt.dll" file, and then copy it to the "~/.wine/drive_c/windows/system32/" subdir, then go to the shell (bash/sh), and run the "winecfg" command, and then click on "Libraries", and go to the input field, under the "New override for library", and enter "bcrypt.dll, and then click on "Add" button, on the right, then click the "Edit" button, and select the "Native (Window)" within the pop-up window, and then click the "OK" button, and then click "Apply", and click "OK", to close the "winecfg":

If you want to use the Flash plug-in in the Opera under Wine, you can download the latest installer from here, and install it as below: open the shell, and type: "wine install_flash_player_12_plugin.exe", and press enter.

The final step, before the run the Opera, is to create the startup script. Open your favourite text editor, and add the lines as below:

Now you can run the Opera as follows: go to the shell, change to the directory which includes the "opr20-launcher.sh", and enter "./opr20-launcher.sh", and press enter, which should launch the Opera. Now go to the address bar, and type "opera:plugins", and press enter, under the "Adobe Flash Player" click the "Enable" button, to enable the plug-in:

That's all - wish you good luck with testing the Opera 20 under the Linux box

Additional notice: to launch the latest Opera 21 (currently version 21.0.1432.5) for Windows under Linux (using Wine) by following the above steps, you no longer need to add the " --disable-gpu" switch, you can run the Opera 21 as follows:

Therefore, one can edit the launch script for the Opera 21, and safely remove this switch.

Of course, can still be the graphics card, for which the graphics hardware acceleration is not supported yet in this version of Opera 21, and in that case (when you will see a black screen), you need to reedit the launch script, and add the switch back.

One important correction (forgot to mention, please excuse me) - you need to copy also three files from main installation dir: go to the installation root (mentioned in step 1), and copy the "installation_status.xml", installer_prefs.json", and "launcher.exe", to the "opera20usb" on your usb drive, and then copy these files to the "...Program Files/opera20usb" (mentioned in step 3) in the Wine user profile directory on your Linux box.

there is no window, but "welcome to opera" window bar is shown
Hi Ukbeast, I think, that I know, what can cause the issue in your case: lack of one or two, preconfigured sections in the "Preferences" file, which should include lines as below:

Yep, I already installed several instances of the virtual machines (e.g. VMware Player, Oracle VM VirtualBox), I have all of the Opera's streams installed there, and I'm experimenting with them from time to time, nevertheless I thought, that I can also try, a bit more native Linux solution, and a little more close to the Open Source like Wine, instead to use licensed M$ software