Install Pipelight on Fedora 21

IMPORTANT - Pipelight works as a Firefox plugin but doesn't work for Chrome. So we're going to be basing this on Firefox only.

Some Helpful Links - but there's a caveat - stay away from the DarkPlayer Pipelight Repo - it will cause you to descend into dependency hell!
http://pipelight.net/cms/install/installation-fedora.html
http://pipelight.net/cms/installation.html
https://ask.fedoraproject.org/en/question/62171/fedora-21-pipelight-pipelight-selinux-error/

If you were to install the DarkPlayer Pipelight yum repo for fedora 21 i.e.

sudo wget http://download.opensuse.org/repositories/home:/DarkPlayer:/Pipelight/Fedora_21/home:DarkPlayer:Pipelight.repo -O /etc/yum.repos.d/pipelight.repo
that looks like it should work but it didn't for me. Some of the above links advise to do this but if you go that route you will end up in dependency hell, something like
--> Processing Conflict: wine-1.7.36-2.1.x86_64 conflicts wine-wow(x86-32) = 1.7.36-2.1
--> Finished Dependency Resolution
Error: Package: wine-opencl-1.7.36-1.fc21.i686 (@updates)
           Requires: wine-core = 1.7.36-1.fc21
           Removing: wine-core-1.7.36-1.fc21.i686 (@updates)
               wine-core = 1.7.36-1.fc21
           Updated By: wine-core-1.7.36-2.1.i686 (home_DarkPlayer_Pipelight)
               wine-core = 1.7.36-2.1
           Available: wine-core-1.7.30-1.fc21.i686 (fedora)
               wine-core = 1.7.30-1.fc21
Error: Package: wine-core-1.7.36-2.1.x86_64 (home_DarkPlayer_Pipelight)
           Requires: libgphoto2_port.so.10()(64bit)
           Available: libgphoto2-2.5.3-9.fc21.x86_64 (fedora)
               libgphoto2_port.so.10()(64bit)
           Installed: libgphoto2-2.5.7-1.fc21.i686 (@updates)
               Not found
Error: Package: wine-core-1.7.36-2.1.x86_64 (home_DarkPlayer_Pipelight)
           Requires: libgphoto2_port.so.10(LIBGPHOTO2_5_0)(64bit)
           Available: libgphoto2-2.5.3-9.fc21.x86_64 (fedora)
               libgphoto2_port.so.10(LIBGPHOTO2_5_0)(64bit)
           Installed: libgphoto2-2.5.7-1.fc21.i686 (@updates)
               Not found
Error: Package: pipelight-0.2.8-6.2.x86_64 (home_DarkPlayer_Pipelight)
           Requires: msttcore-fonts-installer
Error: Package: wine-core-1.7.36-2.1.i686 (home_DarkPlayer_Pipelight)
           Requires: libgphoto2_port.so.10(LIBGPHOTO2_5_0)
           Available: libgphoto2-2.5.3-9.fc21.i686 (fedora)
               libgphoto2_port.so.10(LIBGPHOTO2_5_0)
           Installed: libgphoto2-2.5.7-1.fc21.i686 (@updates)
              ~libgphoto2_port.so.12(LIBGPHOTO2_5_0)
Error: wine conflicts with wine-wow-1.7.36-2.1.i686
Error: Package: wine-opencl-1.7.36-1.fc21.x86_64 (@updates)
           Requires: wine-core = 1.7.36-1.fc21
           Removing: wine-core-1.7.36-1.fc21.i686 (@updates)
               wine-core = 1.7.36-1.fc21
           Updated By: wine-core-1.7.36-2.1.i686 (home_DarkPlayer_Pipelight)
               wine-core = 1.7.36-2.1
           Available: wine-core-1.7.30-1.fc21.i686 (fedora)
               wine-core = 1.7.30-1.fc21
Error: Package: wine-core-1.7.36-2.1.i686 (home_DarkPlayer_Pipelight)
           Requires: libgphoto2_port.so.10
           Available: libgphoto2-2.5.3-9.fc21.i686 (fedora)
               libgphoto2_port.so.10
           Installed: libgphoto2-2.5.7-1.fc21.i686 (@updates)
              ~libgphoto2_port.so.12
Error: Package: pipelight-common-0.2.8-2.fc21.noarch (installed)
           Requires: pipelight = 0.2.8-2.fc21
           Removing: pipelight-0.2.8-2.fc21.x86_64 (installed)
               pipelight = 0.2.8-2.fc21
           Updated By: pipelight-0.2.8-6.2.x86_64 (home_DarkPlayer_Pipelight)
               pipelight = 0.2.8-6.2
 You could try using --skip-broken to work around the problem
Instead, as it turns out Pipelight is already in @rpmfusion-nonfree-updates(!) and we're going to need pipelight-selinux before we're done. So if we get pipelight-selinux from Koji, then we'll pull in a non-conflicting version of Pipelight so life will end up being exceedingly good. Pipelight Selinux is a dependency of pipelight-selinux, so get pipelight-selinux-0.2.1-2.fc21.noarch.rpm from http://koji.fedoraproject.org/koji/buildinfo?buildID=545078
I installed the local rpm (using dnf but yum would have worked too). This went like this:
cd Downloads
sudo dnf install ./pipelight-selinux-0.2.1-2.fc21.noarch.rpm 

Dependencies resolved.
================================================================================
 Package             Arch    Version           Repository                  Size
================================================================================
Installing:
 mingw64-wine-gecko  noarch  2.34-2.fc21       updates                     28 M
 pipelight           x86_64  0.2.8-2.fc21      rpmfusion-nonfree-updates   81 k
 pipelight-common    noarch  0.2.8-2.fc21      rpmfusion-nonfree-updates  2.5 M
 pipelight-selinux   noarch  0.2.1-2.fc21      @commandline                13 k
 wine                x86_64  1.7.35-2.fc21     updates                     51 k
 wine-capi           x86_64  1.7.35-2.fc21     updates                     57 k
 wine-cms            x86_64  1.7.35-2.fc21     updates                     74 k
 wine-ldap           x86_64  1.7.35-2.fc21     updates                    127 k
 wine-openal         x86_64  1.7.35-2.fc21     updates                     64 k
 wine-opencl         x86_64  1.7.35-2.fc21     updates                     64 k
 wine-pulseaudio     x86_64  1.7.35-2.fc21     updates                     93 k
 wine-twain          x86_64  1.7.35-2.fc21     updates                     83 k

Transaction Summary
================================================================================
Install  12 Packages

Total size: 31 M
Total download size: 31 M
Installed size: 41 M
Is this ok [y/N]: y
Downloading Packages:
(1/11): pipelight-0.2.8-2.fc21.x86_64.rpm       133 kB/s |  81 kB     00:00    
(2/11): wine-1.7.35-2.fc21.x86_64.rpm            41 kB/s |  51 kB     00:01    
(3/11): wine-pulseaudio-1.7.35-2.fc21.x86_64.rp 151 kB/s |  93 kB     00:00    
(4/11): wine-ldap-1.7.35-2.fc21.x86_64.rpm      190 kB/s | 127 kB     00:00    
(5/11): wine-twain-1.7.35-2.fc21.x86_64.rpm     141 kB/s |  83 kB     00:00    
(6/11): wine-openal-1.7.35-2.fc21.x86_64.rpm    119 kB/s |  64 kB     00:00    
(7/11): wine-opencl-1.7.35-2.fc21.x86_64.rpm    123 kB/s |  64 kB     00:00    
(8/11): pipelight-common-0.2.8-2.fc21.noarch.rp 569 kB/s | 2.5 MB     00:04    
(9/11): wine-capi-1.7.35-2.fc21.x86_64.rpm      104 kB/s |  57 kB     00:00    
(10/11): wine-cms-1.7.35-2.fc21.x86_64.rpm       56 kB/s |  74 kB     00:01    
(11/11): mingw64-wine-gecko-2.34-2.fc21.noarch. 333 kB/s |  28 MB     01:27    
--------------------------------------------------------------------------------
Total                                           359 kB/s |  31 MB     01:29     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : wine-cms-1.7.35-2.fc21.x86_64                              1/12 
  Installing  : wine-capi-1.7.35-2.fc21.x86_64                             2/12 
  Installing  : wine-opencl-1.7.35-2.fc21.x86_64                           3/12 
  Installing  : wine-openal-1.7.35-2.fc21.x86_64                           4/12 
  Installing  : wine-twain-1.7.35-2.fc21.x86_64                            5/12 
  Installing  : wine-ldap-1.7.35-2.fc21.x86_64                             6/12 
  Installing  : wine-pulseaudio-1.7.35-2.fc21.x86_64                       7/12 
  Installing  : mingw64-wine-gecko-2.34-2.fc21.noarch                      8/12 
  Installing  : wine-1.7.35-2.fc21.x86_64                                  9/12 
  Installing  : pipelight-0.2.8-2.fc21.x86_64                             10/12 
  Installing  : pipelight-common-0.2.8-2.fc21.noarch                      11/12 
  Installing  : pipelight-selinux-0.2.1-2.fc21.noarch                     12/12 
  Verifying   : pipelight-selinux-0.2.1-2.fc21.noarch                      1/12 
  Verifying   : pipelight-0.2.8-2.fc21.x86_64                              2/12 
  Verifying   : pipelight-common-0.2.8-2.fc21.noarch                       3/12 
  Verifying   : wine-1.7.35-2.fc21.x86_64                                  4/12 
  Verifying   : mingw64-wine-gecko-2.34-2.fc21.noarch                      5/12 
  Verifying   : wine-pulseaudio-1.7.35-2.fc21.x86_64                       6/12 
  Verifying   : wine-ldap-1.7.35-2.fc21.x86_64                             7/12 
  Verifying   : wine-twain-1.7.35-2.fc21.x86_64                            8/12 
  Verifying   : wine-openal-1.7.35-2.fc21.x86_64                           9/12 
  Verifying   : wine-opencl-1.7.35-2.fc21.x86_64                          10/12 
  Verifying   : wine-capi-1.7.35-2.fc21.x86_64                            11/12 
  Verifying   : wine-cms-1.7.35-2.fc21.x86_64                             12/12 

Installed:
  mingw64-wine-gecko.noarch 2.34-2.fc21  pipelight.x86_64 0.2.8-2.fc21         
  pipelight-common.noarch 0.2.8-2.fc21   pipelight-selinux.noarch 0.2.1-2.fc21 
  wine.x86_64 1.7.35-2.fc21              wine-capi.x86_64 1.7.35-2.fc21        
  wine-cms.x86_64 1.7.35-2.fc21          wine-ldap.x86_64 1.7.35-2.fc21        
  wine-openal.x86_64 1.7.35-2.fc21       wine-opencl.x86_64 1.7.35-2.fc21      
  wine-pulseaudio.x86_64 1.7.35-2.fc21   wine-twain.x86_64 1.7.35-2.fc21       

Complete!
The key here is that by getting Pipelight from rpmfusion-nonfree-updates and not from the Darkplayer_Pipelight repo we avoid the dependency hell and things go smoothly.
sudo setsebool -P unconfined_mozilla_plugin_transition 0
sudo pipelight-plugin --update
pipelight-plugin --help
pipelight-plugin --enable silverlight5.1
pipelight-plugin --enable silverlight5.0
pipelight-plugin --enable flash
Restart Firefox
Test Plugins
http://bubblemark.com/wpfe.htm
5 comments

Popular posts from this blog

Hit failing alternator with a hammer to confirm diagnosis of failing alternator due to bad brushes

alternatives --install gets stuck: failed to read link: No such file or directory

Using SSH, SOCKS, tsocks, and proxy settings to create a simultaneous "dual use" work/home computer