Flash and Adobe Acrobat browser plugins
From ArchWiki
| i18n |
|---|
| English |
| 简体中文 |
| Español |
Contents |
[edit] Updated Information for new installations! Use the information in this section
[edit] Flash and Java plugins
To install Flash Player and Java, run
pacman -S flashplugin jre You may need to install ttf-ms-fonts (pacman -S ttf-ms-fonts) for flashplayer to render text properly.
That should work! (*Note for Arch64: j2re will still not work for your browser - at this point in time (Oct 13 2006), there is still no support in jre-64 for java applets... See http://java.com/en/download/manual.jsp#note)
If plugins don't work at all in Firefox check the permissions of /usr/lib/mozilla. In my case only root was allowed to read files.
% cd /usr/lib/mozilla cd: permission denied: /usr/lib/mozilla % chmod 755 /usr/lib/mozilla % chmod 755 /usr/lib/mozilla/extensions
To change your general plugin preferences (especially the privacy settings), you have to go to the Macromedia website. There a flash animation will give you access to your local settings.
[edit] Adobe Reader
Due to licensing restrictions, Adobe Reader cannot be distributed from any of the normal Arch repos. There is a version available on the AUR here. If you use yaourt, run:
yaourt -S --aur acroread
There are localisations available in many languages, check the AUR for your language.
yaourt -Ss --aur acroread-
Please note that no matter how many votes it receives, this package will never be included in the community repo. See comment by Snowman here.
[edit] Fixing Flash in Konqueror
pacman -S kmplayer
Run kmplayer to make sure it creates a config file and then close kmplayer. Open "~/.kde/share/config/kmplayerrc" with a text editor of your choice and add this to the ending:
[application/x-shockwave-flash] player=npp plugin=/usr/lib/mozilla/plugins/libflashplayer.so
Check the plugin line if it is correct by doing:
slocate libflashplayer.so
If it is not correct then change it to the correct filepath. Open Konqueror and go to Settings > Configure Konqueror > File Associations, navigate to "application/x-shockwave-flash" and click on the "Embedding" tab and click "Add.." and select "Embedded MPlayer for KDE" and click "Ok". Make sure "Embedded MPlayer for KDE" is on the top. Click "Ok". Now it should work, if it doesn't you might have to restart konqueror and/or KDE.
Reference: http://mikearthur.co.uk/?p=171
[edit] Old information for reference on old installations... Or whatever (OUTDATED)
[edit] Using Mozilla
[edit] For Adobe Acrobat Reader plugin
pacman -S acroread ln -s /opt/mozilla-plugins/nppdf.so /opt/mozilla/lib/mozilla/plugins/
[edit] For Shockwave Flash
pacman -S flashplugin ln -s /opt/mozilla-plugins/flashplayer.xpt /opt/mozilla/lib/mozilla/plugins/ ln -s /opt/mozilla-plugins/libflashplayer.so /opt/mozilla/lib/mozilla/plugins/
Restart Mozilla if it was running.
Note: Flash is known to have bad support for Linux. Flash Player 7 has problems regarding sound output with alot of people. Flash Player 8 and higher are not (yet?) available for Linux!
There is a GNU project going on (Gnash) that should be an open source alternative for showing Flash. As of 17 may 2006 it is still in development, but it is already able to run alot of Flash 7 content.
[edit] Using Mozilla Firefox
[edit] For Adobe Acrobat Reader plugin
pacman -S acroread ln -s /opt/mozilla-plugins/nppdf.so /opt/mozilla/lib/firefox/plugins/
[edit] For Shockwave Flash
pacman -S flashplugin ttf-ms-fonts ln -s /opt/mozilla-plugins/flashplayer.xpt /opt/mozilla/lib/firefox/plugins/ ln -s /opt/mozilla-plugins/libflashplayer.so /opt/mozilla/lib/firefox/plugins/
Note: Flash is known to have bad support for Linux. Flash Player 7 has problems regarding sound output with alot of people. Flash Player 8 and higher are not (yet?) available for Linux!
Note: Also works with Firefox3; replace /opt/mozilla/lib/firefox/plugins with /opt/mozilla/lib/firefox-3.0/plugins
There is a GNU project going on (Gnash) that should be an open source alternative for showing Flash. As of 17 may 2006 it is still in development, but it is already able to run alot of Flash 7 content.
Alternate way
Visit http://www.adobe.com/products/flashplayer/ and download the Adobe Flash player .tar.gz file. Unpack it and execute the flashplayer-installer as root.
./flashplayer-installer
The script will ask for location of the browswer. For Firefox, enter
/usr/lib/firefox
Restart Firefox. Repeat for any browsers installed.
[edit] For Java Plugin
pacman -S jre ln -s /opt/java/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so /opt/mozilla/lib/firefox/plugins/ (for me it's: ln -s /opt/java/jre/plugin/i386/ns7/libjavaplugin_oji.so /opt/mozilla/lib/firefox/plugins/, note the missing gcc29)
Use the Tab key to navigate easier through the directories.