Last modified: Wed Mar 16 08:37:05 JST 2005
Netscape6/7 に対する Mozilla Suite みたいな感じに RealPlayer は Helix Player を元にしたオープンソースプロジェクトになり、GTK+ 2.x ベースの RealPlayer 10 がリリースされました。
このページではオープンソース化する前の RealPlayer 8 も扱っています。
RealPlayer10GOLD.bin をダウンロード。
ダウロードしたファイルを実行可能に。
# chmod u+x RealPlayer10GOLD.bin
そして実行。
# ./RealPlayer10GOLD.bin
すると質問されるので Enter を押す。
Enter the complete path to the directory where you want RealPlayer to be installed. You must specify the full pathname of the directory and have write privileges to the chosen directory. Directory: [/usr/local/RealPlayer10]:
インストール先は /usr/local/RealPlayer10 にでもしておきましょう。
You have selected the following RealPlayer configuration: Destination: /usr/local/RealPlayer10 Enter [F]inish to begin copying files, or [P]revious to go back to the previous prompts: [F]:
そしたら F を選択して Enter を押します。
No Mozilla plugin directory found. Please enter Mozilla's plugins directory to install the Mozilla plug-in, or leave blank to skip plug-in installation:
上記のように Mozilla プラグインの設定ができない場合は Enter を押して抜けます。
プラグインは後で手動でインストールできます。
configure system-wide symbolic links? [Y/n]:
とりあえず Y を選択。
enter the prefix for symbolic links [/usr]:
とりあえず Enter。
これで完了の筈。
単にリンクを貼ればいいだけです。
# ln -s /usr/local/RealPlayer10/mozilla/nphelix.so [プラグインディレクトリ]
場合によっては Firefox / Mozilla の about:config で以下の設定が必要かも。
user_pref("network.protocol-handler.external.rtsp", true);
user_pref("network.protocol-handler.app.rtsp", "/usr/bin/realplay");
RealPlayer 8 for Linux を入手します。
インストールはディストリビューションの系列によって異なります。
単に RPM パッケージをインストールするだけの簡単なものです。
# rpm -ihv rp8-linux20-libc6-i386-cs2.rpm
ファイルの展開が完了するとブラウザ用プラグインをインストールするか尋ねてきます。
これは Netscape 用の質問ですが Mozilla の場合でもインストールしましょう。
Mozilla ユーザの人は次のステップに進んでください。
ダウンロードしたファイルを実行すると /usr/local/RealPlayer8 にインストールされます。
# ./rp8_linux20_libc6_i386_cs2.bin
# ln -s /usr/local/RealPlayer8/realplay /usr/bin/realplay
ファイルの展開が完了するとブラウザ用プラグインをインストールするか尋ねてきます。
これは Netscape 用の質問ですが Mozilla の場合でもインストールしましょう。
Mozilla ユーザの人は次のステップに進んでください。
RealPlayer8 のプラグインは Netscape7 用の /usr/local/netscape/plugins にコピーされるので Mozilla では自力で認識させる必要があります。
/usr/local/netscape/plugins など Netscape7 のプラグインディレクトリからファイルをコピーもしくはリンクします。
# ln -s /usr/local/netscape/plugins/rclass.zip [プラグインディレクトリ]
# ln -s /usr/local/netscape/plugins/rpnp.zip [プラグインディレクトリ]
上手くいけばブラウザ上で RealPlayer が動くようになります。(実行画像)
RealPlayer 8 for Linux はセキュリティホールがあり、パッチが公開されています。
ファイルが古い場合はパッチをダウンロードしてファイルを置き換えましょう。
RealVideo9 コーデックをインストールすることができます。
Codecs ディレクトリにライブラリを追加します。
$ tar zxvf rv9_libc6_i386_cs2.tgz
# cp rv9/codecs/drv4.so.6.0 /usr/local/RealPlayer8/Codecs
# cp rv4.so.6.0 /usr/local/RealPlayer8/Codecs
Real Player のインストール方法によって Codecs ディレクトリの場所は異なります。
Mozilla 1.4 / Netsape 7.1 から gcc 3.x でコンパイルされるようになったため、Real Player のプラグインがうまく動かないようです。
詳細については UNIX RealPlayer Forum の投稿をどうぞ。