Skip to content

Instantly share code, notes, and snippets.

@philippbayer
Last active September 24, 2016 14:21
Show Gist options
  • Save philippbayer/a1743469fb359982e8b7211c9e107448 to your computer and use it in GitHub Desktop.
Save philippbayer/a1743469fb359982e8b7211c9e107448 to your computer and use it in GitHub Desktop.
Getting Pipelight/Silverlight to work on Fedora24
# This is how I got to get Pipelight for Stan/Netflix etc. to work under Fedora 24, Kernel 4.7.3-200.fc24.x86_64
sudo rpm -i http://sourceforge.net/projects/mscorefonts2/files/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
# Download Silverlight - link may change, see http://pipelight.net/cms/install/compile-pipelight.html
wget https://bitbucket.org/mmueller2012/pipelight/get/v0.2.8.1.tar.gz
tar xzvf v0.2.8.1.tar.gz
cd mmueller2012-pipelight-8a1bdc6c254f
# Install some prerequisites
sudo dnf install wine
# At this point I had conflicting packages (libpng) making wine impossible to install, so let's clean up duplicate packages
dnf repoquery --duplicated | sed "1 d" > dupes
cat dupes | sed 's/^\(.*\)-[0-9]\+:.*/\1/' | sort | uniq | grep -v kernel > reinstall
sudo dnf install yumutils
sudo package-cleanup --cleandupes
sudo dnf reinstall $(cat reinstall)
# Now back to the normal program
sudo dnf install wine
sudo dnf install mingw32-gcc-c++
sudo dnf install mingw32-winpthreads-static
./configure --wine-path=`which wine`
make
sudo make install
sudo /usr/local/bin/pipelight-plugin --create-mozilla-plugins
sudo /usr/local/bin/pipelight-plugin --enable silverlight
# Didn't work, at this point Firefox still said 'no Silverlight' - running it without sudo fixed it!
/usr/local/bin/pipelight-plugin --enable silverlight
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment