Installing a second copy of Opera under KDE
Saturday, February 5, 2011 3:31:30 PM
Firstly, grab a XZ compressed tar package that matches your OS and architecture. So if you use 32-bit Linux you want a package that ends ".i386.linux.tar.xz" and if you use 64-bit Linux you want a package that ends ".x86_64.linux.tar.xz".
Save it some where convenient and it should look something like this in your file manager:
Right click on this file and choose 'Extract Acrhive Here':
You should now have the original file plus a similarly named directory, like this:
Enter the directory and you will find the following Opera files:
Click on 'Tools -> Open Terminal', like so:
A terminal (konsole) will now open at this location. At this stage you have two options.
Firstly you could run Opera 'in place' which will mean that you don't actually have to install it but rather just run it directly from this directory. It will even store its profile (settings) within this directory. This is a particularly good choice if you want to start with a clean profile for every snapshot, or if you want to have a portable version of Opera that you can carry around on a USB drive (just extract the directory to the USB drive).
To run Opera in place, type the following and press the 'Enter (Return)' key:
That is it! When you are finished with Opera shut it down as normal. If you want to start it again, just navigate back to the extracted directory, start a terminal and issue the above command again.
Note: If you want your bookmarks and speeddials from your stable Opera install, the easiest way to copy them across is to enable Opera Link.
The second option is to install Opera alongside your stable version. The advantage here is that you could install one snapshot, configure it how you like and then upgrade it through all future snapshots, whilst retaining every one of your settings. You also get full desktop environment integration (e.g. a shortcut in the application menu). To start installation type the following in the konsole window that you opened from within this directory:
./install --user --unattended --suffix snapshot
This means install Opera for the current user only (--user), without prompting for further options (--unattended) and with a suffix of 'snapshot' (--suffix snapshot).
Suffixes are used to allow multiple side by side installations, which is exactly what we want. The suffix renames Opera's files slightly so they don't conflict with the main install (since it has no suffix). You could use any keyword as a suffix, but snapshot seems appropriate here.
The install script will start installation and display the following:
A second copy of Opera is now installed alongside the stable version!
You can confirm this by looking in your Applications menu:
Finally, if you ever want to uninstall the snapshot then start konsole (it doesn't matter from which directory when uninstalling) and issue the following command: