Adobe Flash: Difference between revisions

From OLPC
Jump to navigation Jump to search
(added -z switch to tar command)
Line 17: Line 17:


'''4.''' Unpack the zip file:
'''4.''' Unpack the zip file:
tar xvf install_flash_player_9_linux.tar.gz
tar -zxvf install_flash_player_9_linux.tar.gz


'''5.''' Make the plugin directory for the browser
'''5.''' Make the plugin directory for the browser
Line 35: Line 35:


rpm -i http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-9.0.48.0-release.i386.rpm
rpm -i http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-9.0.48.0-release.i386.rpm








===To uninstall:===
===To uninstall:===

Revision as of 22:45, 28 December 2007

  This page is monitored by the OLPC team.
  For the general public

To install Adobe Flash

1. Make sure you are connected to the Internet

2. Open the "Terminal" activity Activity-terminal.svg. This is a pre-installed program found in the Activities taskbar at the bottom of your Home View. You may need to scroll through the Activities taskbar by using the right arrow icon at the bottom of your screen (Frame-scroll-right.gif) to find the Activity-terminal.svg icon.

3. Get the flashplayer zipfile from Adobe using the wget command:

wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz

If you see an error message such as:

ERROR 404: not found

chances are you are either not connected to the Internet or you made a typo.

4. Unpack the zip file:

tar -zxvf install_flash_player_9_linux.tar.gz

5. Make the plugin directory for the browser

mkdir -p /home/olpc/.mozilla/plugins/

6. Move the plugin into the browser plugins directory

mv install_flash_player_9_linux/libflashplayer.so /home/olpc/.mozilla/plugins/

(Take note that there is a . in front of mozilla in the above commands.)


7. At the command prompt, login as root by typing

su -

8. Then type this to install the latest working version (verion 48) of Adobe Flash. Some sites suggest using the latest version #115, but 115 does not work with opera on the xo. To install version 48 type the following:

rpm -i http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-9.0.48.0-release.i386.rpm

To uninstall:

1. open the Terminal activity;

2. remove flashplayer by typing:

sudo yum remove flash-plugin-9.0.48.0-release

or

sudo yum remove flash-plugin-9.0.115.0-release

depending on the version you installed.

Advanced options

To avoid the Click to play prompt when playing flash in the browser remove the two files:

/usr/share/activities/Web.activity/agent-stylesheet.css 
/usr/share/activities/Web.activity/clickToView.xml

using Terminal:

su
cd /usr/share/activities/Web.activity
mkdir bak
mv  /usr/share/activities/Web.activity/agent-stylesheet.css bak
mv /usr/share/activities/Web.activity/clickToView.xml  bak

undo using Terminal:

su
cd /usr/share/activities/Web.activity/bak
cp agent-stylesheet.css ..
cp clickToView.xml ..


Older versions of flash are available here:

http://fpdownload.macromedia.com/get/flashplayer/installers/archive/fp9_archive.zip

Information about how to load other restricted formats is found here.