How do I install several versions of Opera in Ubuntu?

Forums » Opera for Windows/Mac/Linux » Opera for *nix - Linux/FreeBSD

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

11. May 2010, 14:19:24

Jetro

Posts: 633

How do I install several versions of Opera in Ubuntu?

Pretty straight-forward, I suppose...

I'm a Linux noob, so I don't know how to do this. I usually just run the .deb file, and magically, Opera appears in my menu. The problem is that I cannot have Opera 10.10 and a beta/preview release of Opera 10.5x side-by-side, because whatever version I install last, overwrites the current one.

Anyone? smile
Asus G74SX Windows 7 64-bit
Intel Core i7 2670QM 2,2 GHz | 8GB RAM | NVIDIA GeForce GTX 560M 3072 MB

11. May 2010, 15:32:24

marcorion

Posts: 112

Originally posted by Jetro:

Pretty straight-forward, I suppose...

I'm a Linux noob, so I don't know how to do this. I usually just run the .deb file, and magically, Opera appears in my menu. The problem is that I cannot have Opera 10.10 and a beta/preview release of Opera 10.5x side-by-side, because whatever version I install last, overwrites the current one.

Anyone? smile



Um you really cannot. All *nix versions of Opera when installed run to ~/.opera to store configuration info. 10.10 and 10.5 use very different configuration files and are not interchangable. Hence the 2 cannot be installed side-by-side.

You can *run* at least some of the 10.5 snapshots without installing.

11. May 2010, 15:46:22

RocknRolf

Posts: 248

You can more then one version of opera. Download the tarball wich belong to the secaond install, untar it to a folder of your choise. Then you musst first cd into this folder and run opera.
for example:

Oper terminal
cd /path to the folder/operaversion/
./opera

Opera build a new profilefolder only in these folder, not in the system. so you can use more then one version of opera in seperrate folders wink

Excuse my bad english,

11. May 2010, 23:10:44

lamarca

there is no place like 127.0.0.1

Posts: 61301

testing opera under unix/linux, without changing your main profile settings.
the truth about opera is here
la médecine est comme l'amour: ni jamais et ni toujours.


12. May 2010, 07:11:55 (edited)

Opera Software

ruario

Posts: 980

It is very easy actually. Multiple side by side installs are now supported by the new install script, via install suffixes. During install a (user selected) suffix can be appended to the name of the install files and directories, e.g. if I was to use the suffix 'snapshot' the Opera startup script would become '/usr/local/bin/opera-snapshot' (for a system install) and the shared resource directory would become /usr/local/share/opera-snapshot (other files and directories will also be renamed in a similar vein). Better yet this suffixed install would get its own shortcut in the desktop environment's application menu and would use '~/.opera-snapshot' for its profile settings rather than the main profile ('~/.opera').

Uninstalling Opera is now made easier due to the fact that an uninstall script is created during installation (by the tarball install script) and placed in '/usr/local/bin' (or '~/.local/bin' for a user install). The uninstall script is called 'uninstall-opera'. If side by side suffix installs are done, a unique uninstall script is created for each, e.g. 'uninstall-opera-snapshot'.

So basically you just need to use the tarball package rather than the .deb. Firstly download the appropriate package:

Opera 10.54 (6335) 32bit
Opera 10.54 (6335) 64bit

Assuming you use 32bit linux and downloaded this to your '~/Downloads' directory you could start a terminal window and install it as follows:

cd ~/Downloads
tar xf opera-10.54-6335.i386.linux.tar.bz2
opera-10.54-6335.i386.linux/install


During the install process you will be promted if you would like to use a suffix, choose something suitable like snapshot, test or perhaps the build number 6335. After installation is complete you may need to log in and out of your desktop environment before the suffix installed appears in your Applications menu under Gnome.

12. May 2010, 07:07:05

Opera Software

ruario

Posts: 980

Originally posted by marcorion:

Um you really cannot. All *nix versions of Opera when installed run to ~/.opera to store configuration info.

This is no longer true. Suffixes allow for side by side installs. This functionality was introduced in the tarball install script for 10.5x.

12. May 2010, 07:09:23

Opera Software

ruario

Posts: 980

Originally posted by RocknRolf:


cd /path to the folder/operaversion/
./opera



If you like you can avoid the initial cd and just issue:

/[path]/opera

This was fixed in 10.5x, so that cd'ing first is no longer needed.

12. May 2010, 07:11:05

Opera Software

ruario

Posts: 980

Originally posted by lamarca:

testing opera under unix/linux, without changing your main profile settings.

Hmmm ... I should update that at some point to mention suffix installs. These are arguably the best way these days since you can have a unique profile for each install but also get desktop environment integration.

13. May 2010, 13:54:52 (edited)

Jetro

Posts: 633

Thank you all!

I did what ruario suggested, and it seems to work great. However, I notice that it looks very much like the Windows version, with rounded courners and all that. Now, I don't mind that, but the .deb version I installed was more... squary. Also, this one "lags" more when opening a new tab, but I suppose that is to be expected. smile Anyway, thanks.

Edit once again: I notice that in KDE 4.0, everything is running smoothly! Just thought that was a fun notion to add.
Asus G74SX Windows 7 64-bit
Intel Core i7 2670QM 2,2 GHz | 8GB RAM | NVIDIA GeForce GTX 560M 3072 MB

13. May 2010, 14:00:15

marcorion

Posts: 112

Originally posted by ruario:

Originally posted by marcorion:

Um you really cannot. All *nix versions of Opera when installed run to ~/.opera to store configuration info.

This is no longer true. Suffixes allow for side by side installs. This functionality was introduced in the tarball install script for 10.5x.



I like being wrong, sometimes. smile

13. May 2010, 14:03:52

Frenzie

Posts: 15541

I'm perfectly fine with just extracting the tarballs myself. But then I only maintain separate ones for testing, not for serious usage.
The DnD Sanctuary — a safety net for My Opera's demise.

Forums » Opera for Windows/Mac/Linux » Opera for *nix - Linux/FreeBSD