Restricted Formats/Flash9

From openSUSE-Community

This page explains how to install the Flash Player version 9 from Adobe.
Note that Flash9 is now available from the update repository.

Contents

[edit] openSUSE 10.3

See Restricted_Formats/10.3

[edit] openSUSE 10.2

[edit] Using YaST / Smart

Your YaST/Smart should have the Updates Repository installed. Search for "Flash" and select "Flash 9".

If you don't have the SuSE Online Update Repository:

- In Smart add RPM-MD > ftp://ftp.suse.com/pub/suse/update/10.2/

- In YaST add url > ftp://ftp.suse.com/pub/suse/update/10.2/

[edit] Using the RPM

This is the quickest and easiest way to get Flash Player 9 up-and-running on openSUSE:

[edit] Uninstall the flash-player package

If you have the flash-player package installed (provided in the non-OSS repository of openSUSE), you'll have to uninstall it first.

The following command will check whether it is installed and if it is, it will prompt you for the root password and remove it:

rpm -q flash-player && su -c "rpm -e flash-player"

[edit] Install the Package

su - rpm -ivh http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-9.0.31.0-release.i386.rpm

Now, in Konqueror, head over to:

Settings -> Configure Konqueror -> Plugins

..and hit the Scan for New Plugins button. Flash 9 should now work.

[edit] Using the tar archive

Grab the latest pack from Adobe's website, using the following link: http://www.adobe.com/downloads/

e.g. like this from a shell (no need to be root at this point):

mkdir -p ~/download/flash

cd ~/download/flash

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

[edit] Uninstall the flash-player package

If you have the flash-player package installed (provided in the non-OSS repository of openSUSE), you'll have to uninstall it first.

The following command will check whether it is installed and if it is, it will prompt you for the root password and remove it:

rpm -q flash-player && su -c "rpm -e flash-player"

[edit] Unpack the archive

Unpack the tar.gz archive you've just downloaded from Adobe's website and go into the subdirectory that's created by unpacking it:

cd ~/download/flash

tar xzf install_flash_player_9_linux.tar.gz

cd install_flash_player_9_linux

[edit] Install the plugin

Now let's install the plugin file (libflashplayer.so) into /usr/lib/browser-plugins/:

su -c "install -oroot -groot libflashplayer.so flashplayer.xpt /usr/lib/browser-plugins/"

The command above will prompt you for your root password and install it accordingly.

[edit] Verify

Start Firefox, Seamonkey or whatever Mozilla browser you are using, and type the following as the URL: about:plugins

On that page, you should now see an item identifying itself as "Shockwave Flash"

    File name: libflashplayer.so
    Shockwave Flash 9.0 r31

[edit] Firefox and x86_64

The above instructions will install a 32-bits version of the Flash Player and so will only work for 32-bits version of Firefox. There is no 64-bits version of the plug-in. To use it with a 64-bits version of Firefox you need to install 'nspluginwrapper', which can be found in the OpenSuse repository and run the following command as root:

nspluginwrapper -i /usr/lib/browser-plugins/libflashplayer.so

to remove it just type:

nspluginwrapper -r /usr/lib64/browser-plugins/npwrapper.libflashplayer.so

For more information: http://gwenole.beauchesne.info/en/projects/nspluginwrapper