본문 바로가기

Study/Linux

페도라14 오페라, 플러그인 설치

http://www.opera.com/docs/linux/plugins/install/#flash

Installation of Plug-ins for Opera on Linux


This document was last updated for Opera 9.10.
Table of contents
General Instructions for Plug-In Installation
Adobe Reader
Flash Player (Adobe)
Java Runtime Environment (Sun)
GXine
MPlayer
RealPlayer
Helix Player
General Instructions - Installing Plug-ins for Opera on Linux
Prerequisites

Most Web browser plug-ins on the Linux platform today are made for Netscape. Opera supports most Netscape plug-ins through an Opera plug-in proxy called "libnpp". The proxy is included in the Opera package.
Installing the easy way: with packages made for your distribution

All the major Linux distributions today have excellent systems for installing and updating software, making it possible to download and install a plug-in with a simple click or command. We recommend using such a package manager to install plug-ins. However, on this page we give additional instructions for those who prefer to install the plug-in manually.
General principles of manual installation

The general procedure for manual installation is the following:
Download and install the plug-in
Configure Opera so that it can find the plug-in
Restart Opera

Instructions for the first step are usually given by the plug-in manufacturer, and are repeated below. For the second step, there are at least two alternative procedures: either copy the plug-in to /usr/lib/opera/plugins, where it will be discovered automatically after restarting Opera, or add the directory containing the plug-in to the plug-in path. To add a new directory to the plug-in path, select Tools > Preferences > Advanced > Content, click on "Plug-in options", and "Change path".

After changing the path, restart Opera, and if all went well, the plug-in should be listed under Tools > Advanced > Plug-ins. To be certain that Opera will use the plug-in, and not some alternative application, go to Tools > Preferences > Advanced > Downloads, and select the mime-type associated with the plug-in. Click on "Edit", and make sure that "Use plug-in" is marked appropriately.
What to do if it does not work

Try asking in the My Opera Forums or the opera.linux newsgroup.
Adobe Reader

Command line instructions to locate the Adobe Reader plug-in if it is installed:
locate nppdf.so, or
find / -name nppdf.so 2> /dev/null

If Adobe Reader plug-in is not installed, or you wish to upgrade, proceed as follows:
Download the plug-in suitable for your system and language
Open a shell, find the downloaded file and extract by typing tar -xzvf <filename>, where <filename> is replaced by the name of the file you downloaded.
From inside the directory containing the INSTALL script, as root, type ./INSTALL and follow the installer's instructions.
Locate the file nppdf.so on your system, and copy it to the directory /usr/lib/opera/plug-ins/.
Restart Opera.
Adobe Reader should now be included on the list of plug-ins detected by Opera at Tools > Advanced > Plug-ins. If not, repeat some or all of the previous steps.
Verify that the plug-in is working by loading a pdf file.
If all the previous steps have been completed, and the .pdf file opens not in Adobe Reader but in a different application, go to Tools > Preferences > Advanced > Downloads and select "application/pdf". Click "Edit", and make sure that "Use plug-in" is marked appropriately.
MIME types:
application/pdf:pdf:Portable Document Format
Flash Player (Adobe)

Command line instructions to locate the Flash plug-in if it is installed:
locate libflashplayer.so, or
find / -name libflashplayer.so 2> /dev/null

If Flash plug-in is not installed, or you wish to upgrade, proceed as follows:
Download the plug-in from Adobe's Web site.
Follow the instructions on the download page. The installer will offer to install the plug-in, and for Opera you should choose /usr/lib/opera as the installation path.
Restart Opera.
Verify that the plug-in is working by going to Adobe's test page.

For additional information on Flash Player for Linux, see Adobe's blog.
MIME types:
application/futuresplash:spl:FutureSplash Player
application/x-shockwave-flash:swf:Shockwave Flash
Java Runtime Environment (Sun)

The Java plug-in is part of the Java Runtime Environment (JRE), but Opera does not use the plug-in: it uses the JRE directly. To get Java working with Opera, you must install the JRE, and configure Opera with the correct Java path.

Command line instructions to locate the Java Runtime Environment (JRE) if it is installed:
locate libjava.so, or
find / -name libjava.so 2> /dev/null

Before proceeding, you may wish to test Java to see if Opera has been able to auto-detect your Java installation using our test applet. If Opera does not show this applet (an animated analog clock), you must install the JRE and/or configure Opera with the correct Java path:
Download the Java Runtime Environment that is suitable for your system. For systems that are older than the ones listed in System Requirements on the download page, you will need version 1.3.1. Follow the installation instructions linked from the download page.
Go to Tools > Preferences > Advanced > Content, and click the "Java options" button. If this button is dimmed, first check the "Enable Java" option.
Click the "Choose" button for the "Java path" field. The path you are looking for is the directory of your Java installation containing the files libjava.so and libawt.so, for example /usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/i386 on an Ubuntu system. The command line tools indicated above should locate the directory.
Click the "Validate Java path" button. If you get an error message, try again with a different path.
Click "OK" to save your changes and exit the Java dialog. Click "OK" to save your changes and exit the Preferences dialog.
MIME types:
application/x-java-applet::Java(tm) Plug-in
application/x-java-bean::Java(tm)
GXine

Instructions:
The back-end is called xine-lib. It is likely that a precompiled package exists for your distribution. If you cannot find one, download the xine-lib source from the Xine download page, and follow xinehq's instructions on how to compile it. You may have to install further dependencies.
The front-end is GXine. Again, first try to find a precompiled package for your distribution. Failing that, download the source from the Xine download page, and compile it in the same way as xine-lib.
Locate the file gxineplugin.so on your system and copy it to /usr/lib/opera/plugins/.
Restart Opera.
Verify that the plug-in is working by going to Apple's movie trailer page and watching a trailer.
MIME types:
Multiple video formats
MPlayer

MPlayer plays video in most formats. It is important to distinguish between the standalone media player MPlayer and mplayerplug-in, which is a separate project. See the mplayerplug-in FAQ for more details.

Instructions for standalone MPlayer:

To install mplayerplug-in, you first need a copy of MPlayer to be installed, but you need not compile MPlayer yourself. A binary version, compiled and packaged for your Linux distribution, is a perfectly good starting point. Alternatively, take the following steps:
Download MPlayer. To compile the program, follow the instructions in the MPlayer documentation.
If you need additional codecs for various video formats, you can download them from the MPlayer download site

Instructions for mplayerplug-in:

mplayerplug-in is a GTK application, designed for a Gecko browser. To compile it, take the following steps:
Make sure you have the Gecko SDK installed.
Download the mplayerplug-in source code.
Type ./configure --enable-x [--with-gecko-sdk={path}] where {path} is the path to the Gecko SDK
Type make
Locate the files mplayerplug-in*.{so,xpt} and copy them to /usr/lib/opera/plugins or /usr/lib/browser-plugins or /usr/lib/netscape/plugins or /usr/lib/mozilla/plugins, depending on your distribution.
Type ln -s /usr/lib/mozilla/libxpcom.so /usr/lib
Restart Opera.
Verify that the plug-in is working by going to a test page for DivX plug-ins or by watching a trailer on Apple's movie trailer page.
MIME types:
Multiple video formats
RealPlayer

Many Linux distributions come with RealPlayer pre-installed. If you already have RealPlayer, you should not need to follow the instructions below. To check whether RealPlayer is installed, type: which realplay

Instructions:
Download the plug-in from the RealNetworks Web site.
Follow the instructions on the download page.
Restart Opera.
MIME types:
Multiple
Helix Player

Many Linux distributions come with RealPlayer or Helix Player pre-installed. If you already have RealPlayer or Helix Player, you should not need to follow the instructions below. To check whether RealPlayer is installed type: which realplay
To check whether Helix Player is installed type: which helix-player

Instructions:
Download the plug-in from the Helix Community Web site.
Follow the instructions on the download page.
Restart Opera.
MIME types:
Multiple