Skip to content

Instantly share code, notes, and snippets.

@ruario
Last active September 7, 2018 11:49
Show Gist options
  • Star 13 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ruario/99522c94838d0680633c to your computer and use it in GitHub Desktop.
Save ruario/99522c94838d0680633c to your computer and use it in GitHub Desktop.
How to install Opera developer for Linux on distributions other than Debian, Ubuntu or derivatives
@YeOK
Copy link

YeOK commented Jun 26, 2014

@ ruario

I have Google Chrome Unstable installed. It looks like Opera only checks for the stable chrome directory when searching for pepper flash. A symlink added to '/opt/google/chrome' confirms PepperFlash is working.

Google use '/opt/google/chrome-beta' and '/opt/google/chrome-unstable'.

@nobuyuki-ito
Copy link

@ruario
I updated the spec file. Now rpm post scriptlet automatically creates symlink to libudev.so.1. Thanks for your good advice. I think your sh function is useful for installation for CentOS or Redhat variant in case of they don't know where libudev.so.0 is located at.

After I installed 'google-chrome-stable' package from Google, opera-developer detected pepper flash player plugin. It works on some websites including flash plugin contents.

Adobe Flash Player
Version: 14.0.0.125
disabled
Shockwave Flash 14.0 r0

Location:   /opt/google/chrome/PepperFlash/libpepflashplayer.so
Type:   PPAPI (out-of-process)

opera://plugins/

@ruario
Copy link
Author

ruario commented Jul 16, 2014

Now that the OpenSSL problems are gone, repackaging should be easier

@SSamiK
Copy link

SSamiK commented Sep 4, 2014

I cant get either the fedora.spec file or the standalone installer in this threat to work with latest Opera developer.

With the standalone installer I get this:
./run: line 2: /home/SSamiK/opera-developer_25.0.1606.0_amd64/: Er en filkatalog
./run: line 2: exec: /home/SSamiK/opera-developer_25.0.1606.0_amd64/: cannot execute: Er en filkatalog

@ruario
Copy link
Author

ruario commented Sep 9, 2014

@SSamiK Most likely due to the change of name of the binary from opera to opera-developer. I have now fixed the standalone installer.

@ruario
Copy link
Author

ruario commented Oct 29, 2014

@nobuyuki-ito @Arilas @SSamiK @YeOK You do not need libssl libs from Ubuntu to get Opera working on fedora. A simple symlink will do. I have updated my instructions above and my own sample install scripts.

@fsLeg
Copy link

fsLeg commented Nov 22, 2014

That SlackBuild from me is outdated. Please update the link to http://blog.t-rg.ws/uploads/opera.tar.gz or to my repo: https://github.com/fsLeg/SlackBuilds/tree/master/opera. The new SlackBuild can build both Developer and Beta flavors and can optionally build local version of FFmpeg.

@RLndggr
Copy link

RLndggr commented Nov 27, 2014

On Fedora 20 and with Opera Beta 26.0.1656.27 I had to install libXss and make a symlink:
ln -sf /usr/lib64/libXss.so.1 /usr/local/lib64/opera-beta/lib/libXss.1

@ruario
Copy link
Author

ruario commented Dec 3, 2014

@fsLeg done. Thanks!

@ruario
Copy link
Author

ruario commented Dec 3, 2014

@RLndggr I checked and I did not need to do this with Opera 26.0.1656.32. Yes we depend on /usr/lib64/libXss.so.1 (provided by the libXScrnSaver package) but no compatibility symlink is required.

libXScrnSaver should already be present on a typical Fedora desktop install. However, if it is missing, you can simply issue the command:

yum install libXScrnSaver

@kikonen
Copy link

kikonen commented Dec 3, 2014

FYI: I modified Fedora rpmbuild script to package opera for OpenSUSE.

https://github.com/kikonen/opera-opensuse

@ruario
Copy link
Author

ruario commented Dec 3, 2014

@kikonen Thanks! I have added you above.

P.S. There is no need to do anything special for libssl on OpenSUSE ;)

@ruario
Copy link
Author

ruario commented Dec 17, 2014

Most of the rpm .spec files I have found use overly complicated workarounds for libcrypto (by bundling libs) and create rpms that will on work on specific distro releases by including libudev compatibility symlinks, rather than making them on the fly (as needed) in post install. I have therefore created some examples to demonstrate how I would deal with these issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment