Since Ubuntu Hardy Heron, it has become much easier to install Flash on Ubuntu, but the included restricted packages always leave me a bit disappointed. Luckily, Adobe provides a proper 64-bit version of Flash for Linux called “Square”. Since I tend to automate my installations, I wrote a script to install the latest version of Flash on my computer:
#! /bin/bash # Remove any installed Flash packages aptitude remove --quiet --assume-yes flashplugin-installer flashplugin-nonfree cd /tmp/ FLASH="flashplayer10_2_p3_64bit_linux_111710.tar.gz" wget http://download.macromedia.com/pub/labs/flashplayer10/$FLASH tar xzvf $FLASH mv libflashplayer.so /usr/lib64/mozilla/plugins/ rm $FLASH
Now Flash runs properly, and with the switch to “Square,” it even seems to consume fewer resources on my machine.