Wednesday, November 04, 2009

 

Clean install of 64-bit Flash player in Ubuntu 9.10 Karmic Koala

  1. Dowload the archive from http://labs.adobe.com/downloads/flashplayer10.html
  2. Unpack it to /opt:
    sudo mkdir /opt/flashplayer
    cd /opt/flashplayer/
    sudo tar zxf /some/path/Downloads/libflashplayer-10.0.32.18.linux-x86_64.so.tar.gz
  3. Use update-alternatives to make it the default flash player:
    for i in firefox iceape iceweasel midbrowser mozilla xulrunner-addons xulrunner
    do
        sudo update-alternatives --install /usr/lib/${i}/plugins/flashplugin-alternative.so \
            ${i}-flashplugin
    /opt/flashplayer/libflashplayer.so 100
    done
  4. Verify that the link really points to /opt/flashplayer:
    ls -l /etc/alternatives/firefox-flashplugin
    # outputs /etc/alternatives/firefox-flashplugin -> /opt/flashplayer/libflashplayer.so
  5. Remove the Ubufox Flash player override:
    ls -l /usr/share/ubufox/plugins/
    # npwrapper.libflashplayer.so ->
    # /usr/lib/flashplugin-installer/npwrapper.libflashplayer.so

    sudo rm /usr/share/ubufox/plugins/npwrapper.libflashplayer.so
    sudo ln -s /opt/flashplayer/libflashplayer.so /usr/share/ubufox/plugins/
  6. Verify that Firefox is using the plugin:
    1. restart Firefox
    2. open a new tab and type about:plugins
    3. you should see File name: libflashplayer.so under Shockwave Flash

Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?