Install Adobe® Flash® Player “Square” on Linux

Adobe® Flash® Player “Square” is a preview release that enables native 64-bit support on Linux, Mac OS, and Windows operating systems, as well as enhanced support for Microsoft Internet Explorer 9 beta.

I’m glad to see Adobe has is finally embracing the way it should the 64 bit Platform. This release is a milestone as far as i know, as is the first one that’s released in the same time for win, mac and linux. I’ve put together a small tutorial on
how to install adobe flash player square on linux:

#!/bin/bash
# Script  created by
# Romeo-Adrian Cioaba [email protected]

echo "Stopping any Firefox that might be running"
sudo killall -9 firefox

echo "Removing any other flash plugin previously installed:"
sudo apt-get remove -y --purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
sudo rm -f /usr/lib/mozilla/plugins/*flash*
sudo rm -f ~/.mozilla/plugins/*flash*
sudo rm -f /usr/lib/firefox/plugins/*flash*
sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
sudo rm -rfd /usr/lib/nspluginwrapper

echo "Installing Flash Player Square"
cd ~
# 64 bit
wget http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_p1_64bit_linux_091510.tar.gz
tar zxvf flashplayer_square_p1_64bit_linux_091510.tar.gz
# 32 bit
# wget http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_p1_32bit_linux_091510.tar.gz
# tar zxvf flashplayer_square_p1_32bit_linux_091510.tar.gz
sudo cp libflashplayer.so /usr/lib/mozilla/plugins/

echo "Linking the libraries so Firefox and apps depending on XULRunner (vuze, liferea, rsswol) can find it."
sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/
sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so  /usr/lib/xulrunner-addons/plugins/

# now doing some cleaning up:
sudo rm -rf libflashplayer.so
sudo rm -rf flashplayer_square_p1_64bit_linux_091510.tar.gz

To check if the install did it’s job, you need to check about:plugins in your address bar. It should show you this for flash player:

Shockwave Flash

File: libflashplayer.so
Version:
Shockwave Flash 10.2 d161
MIME Type Description Suffixes Enabled
application/x-shockwave-flash Shockwave Flash swf Yes
application/futuresplash FutureSplash Player spl Yes

As usual, I’ve wrapped everything mentioned before into a script to easily install flash player square on Linux

If this version doesn’t work out that well for you, you can still check my other tutorial on how to install native 64bit flash player on Linux
Happy browsing!

20 thoughts on “Install Adobe® Flash® Player “Square” on Linux”

  1. Hi,

    Anyone have any luck getting this to work with Swiftfox on Ubuntu 10.04 x64.

    Worked great for normal firefox build but still no flash in Swiftfox build.

    Thanks for the script!

    Take Care,

    Will

  2. Hi,
    I have successfully installed this version and it is in a working condition. However, I am facing a strange problem. While watching a video, it works fine, but if I have to pause it for sometime and wish to change the tab, when I come back to start watching that video again, and make the screen full, I can not get back to anything as full screen never goes after that. I faced two different scenarios. One in which I could not even start the remaining video and had to force-start the system. In the second one, although after I played the video and made the full screen, remaining video played perfectly, but I could not go off the full screen again after the video was over and had to force-start again…. can’t figure out why it is happening. I have AMD Athlon X2 5000+ Black Edition on AMD 780G/SB700 with 512 MB Radeon HD 3400 on CrossfireX enabled. Any help will be appreciated. Thank you…

  3. Sorry… wanted to tell one more thing that this problem does not occur when native 64 bit installation what Adobe pulled but could be found on this site (10.0.r45). However, it has another symptom. when I change the tab as described above, after coming back, when I click to make it full-screen, the screen does not show full screen display of the video… Rather, it shows the desktop background. If I minimize the Firefox window (only upper panel is visible in this situation), the full screen video starts displaying and plays fine…. Every time I have to repeat the ritual when I come back to the video tab. Although it does not make me force-start the system, but is a bit inconvenient.

  4. Anyone tried this with Opera? I’m tempted to just cut/paste then replace firefox/opera as appropriate.
    Not actually sure how it will work… will update, I guess.

    BTW, I wanted to thank you for having a site that doesn’t require flash for a page that tells you how to install flash. 🙂

  5. New Preview 2 file is out, just rename all instances to:

    flashplayer_square_p2_64bit_linux_092710.tar.gz

    Thanks for the script, installed great and testing Adobe Flash Player 64bit Preview 2 now.

  6. Great script, but here is a more universal version, which won’t need the adaption if a new version comes out, although it will need one, when the 64bit version finally is coming out of beta

    #!/bin/bash
    # Script created by Romeo-Adrian Cioaba [email protected]
    # Adaption to be version independent by Roland Knall [email protected]

    echo “Stopping any Firefox that might be running”
    sudo killall -9 firefox

    echo “Removing any other flash plugin previously installed:”
    sudo apt-get remove -y –purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
    sudo rm -f /usr/lib/mozilla/plugins/*flash*
    sudo rm -f ~/.mozilla/plugins/*flash*
    sudo rm -f /usr/lib/firefox/plugins/*flash*
    sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
    sudo rm -rfd /usr/lib/nspluginwrapper

    echo “Installing Flash Player Square”
    cd ~
    # 64 bit
    lnx_version=’64bit_linux’
    url=’http://labs.adobe.com/downloads/flashplayer10_square.html’
    # 32 bit
    # lnx_version=’32bit_linux’
    # url=’http://labs.adobe.com/downloads/flashplayer10.html’

    downloadurl=$(wget -q -O – “[email protected]” $url | grep $lnx_version | grep -o ‘<a href=['"'"'"][^"'"'"']*['"'"'"]' | sed -e 's/^<a href=["'"'"']//' -e 's/["'"'"']$//')

    if [ -z $downloadurl ] ; then
    echo "No download url found at $url for version $lnx_version"
    exit 1
    fi

    mkdir /tmp/updflash.$$
    cd /tmp/updflash.$$

    wget –output-document=flashplayer_update.tgz $downloadurl
    tar zxvf flashplayer_update.tgz

    sudo cp libflashplayer.so /usr/lib/mozilla/plugins/

    echo "Linking the libraries so Firefox and apps depending on XULRunner (vuze, liferea, rsswol) can find it."
    sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/
    sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/xulrunner-addons/plugins/

    # now doing some cleaning up:
    sudo rm -rf libflashplayer.so
    sudo rm -rf flashplayer_update.tgz

  7. Is anyone managing to get the 64-bit plug-in installed? The URL for the tar file in the above scripts has changed. I’ve altered the script as below, but I still get no flash player in Firefox 4.

    #!/bin/bash
    # Script created by
    # Romeo-Adrian Cioaba [email protected]

    echo “Stopping any Firefox that might be running”
    sudo killall -9 firefox

    echo “Removing any other flash plugin previously installed:”
    sudo apt-get remove -y –purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
    sudo rm -f /usr/lib/mozilla/plugins/*flash*
    sudo rm -f ~/.mozilla/plugins/*flash*
    sudo rm -f /usr/lib/firefox/plugins/*flash*
    sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
    sudo rm -rfd /usr/lib/nspluginwrapper

    echo “Installing Flash Player Square”
    cd ~
    # 64 bit
    tarfile=flashplayer10_2_p3_64bit_linux_111710.tar.gz
    wget http://download.macromedia.com/pub/labs/flashplayer10/$tarfile
    tar zxvf $tarfile
    sudo cp libflashplayer.so /usr/lib/mozilla/plugins/

    echo “Linking the libraries so Firefox and apps depending on XULRunner (vuze, liferea, rsswol) can find it.”
    sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/
    sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/xulrunner-addons/plugins/

    # now doing some cleaning up:
    sudo rm -rf libflashplayer.so
    sudo rm -rf $tarfile

  8. Not working. This is as far as I get:
    [email protected]:~$ sudo killall -9 firefox
    firefox: no process found
    [email protected]:~$ sudo apt-get remove -y –purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
    E: Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

    Any ideas? Thanks!

  9. Not sure if it was the problem, but closed Synaptic Package Manager and ran the command in Terminal again:
    sudo apt-get remove -y –purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Virtual packages like ‘libflashsupport’ can’t be removed
    E: Unable to locate package –purge

  10. Had got some problems with flash since my upgrade to Natty 11.04. Could install the 64bit flash plugin with your help and it seems to work … thank you!

  11. this script will work:

    #!/bin/bash
    # Script created by
    # Romeo-Adrian Cioaba [email protected]

    echo “Stopping any Firefox that might be running”
    sudo killall -9 firefox

    echo “Removing any other flash plugin previously installed:”
    sudo apt-get remove -y –purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
    sudo rm -f /usr/lib/mozilla/plugins/*flash*
    sudo rm -f ~/.mozilla/plugins/*flash*
    sudo rm -f /usr/lib/firefox/plugins/*flash*
    sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
    sudo rm -rfd /usr/lib/nspluginwrapper

    echo “Installing Flash Player Square”
    cd ~
    # 64 bit
    wget http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_2_p3_64bit_linux_111710.tar.gz
    tar zxvf flashplayer10_2_p3_64bit_linux_111710.tar.gz
    # 32 bit
    # wget http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_p1_32bit_linux_091510.tar.gz
    # tar zxvf flashplayer_square_p1_32bit_linux_091510.tar.gz
    sudo cp libflashplayer.so /usr/lib/mozilla/plugins/

    echo “Linking the libraries so Firefox and apps depending on XULRunner (vuze, liferea, rsswol) can find it.”
    sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/
    sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/xulrunner-addons/plugins/

    # now doing some cleaning up:
    sudo rm -rf libflashplayer.so
    sudo rm -rf flashplayer_square_p1_64bit_linux_091510.tar.gz

    Tested on ubuntu 11.04 on May 04/11

  12. Thank you so much!!! I can now watch NBA live on Iceweasel! flashplayer 11 disabled hardware accelaration, so I don’t recomend updating from 10.3 if you use heavy flash media.

Leave a Reply

Your email address will not be published. Required fields are marked *