个人工具

“UbuntuHelp:RealplayerInstallationMethods”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/RealplayerInstallationMethods}}
 
{{From|https://help.ubuntu.com/community/RealplayerInstallationMethods}}
 
{{Languages|UbuntuHelp:RealplayerInstallationMethods}}
 
{{Languages|UbuntuHelp:RealplayerInstallationMethods}}
 
 
 
=== About RealPlayer ===
 
=== About RealPlayer ===
 
 
[http://www.real.com/player RealPlayer] is a media player originally developed by Real''''''Networks way back in 1995. It supports a number of audio and video codecs such as realaudio, realvideo 10, mp3, ogg vorbis and theora, h263, and AAC. [http://www.real.com/linux RealPlayer for Linux] is based on the open-source [https://player.helixcommunity.org/2005/downloads/ Helix Player] which can be found at the [https://www.helixcommunity.org/ Helix Community Website].  
 
[http://www.real.com/player RealPlayer] is a media player originally developed by Real''''''Networks way back in 1995. It supports a number of audio and video codecs such as realaudio, realvideo 10, mp3, ogg vorbis and theora, h263, and AAC. [http://www.real.com/linux RealPlayer for Linux] is based on the open-source [https://player.helixcommunity.org/2005/downloads/ Helix Player] which can be found at the [https://www.helixcommunity.org/ Helix Community Website].  
 
 
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png '''Please NOTE''': Real''''''Player is proprietary software and is not supported by the Ubuntu community.
 
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png '''Please NOTE''': Real''''''Player is proprietary software and is not supported by the Ubuntu community.
 
 
<br>
 
<br>
 
 
=== Installing RealPlayer ===
 
=== Installing RealPlayer ===
 
 
==== Install RealPlayer from Canonical's Commercial Repositories ====
 
==== Install RealPlayer from Canonical's Commercial Repositories ====
 
 
Add Canonical's Commercial Repositories to your system:
 
Add Canonical's Commercial Repositories to your system:
 
 
* '''Ubuntu 6.06''' «'''Dapper Drake'''»:  
 
* '''Ubuntu 6.06''' «'''Dapper Drake'''»:  
 
<pre><nowiki>
 
<pre><nowiki>
 
deb http://archive.canonical.com/ubuntu dapper-commercial main
 
deb http://archive.canonical.com/ubuntu dapper-commercial main
 
</nowiki></pre>
 
</nowiki></pre>
 
 
* '''Ubuntu 6.10''' «'''Edgy Eft'''»:  
 
* '''Ubuntu 6.10''' «'''Edgy Eft'''»:  
 
<pre><nowiki>
 
<pre><nowiki>
 
deb http://archive.canonical.com/ubuntu edgy-commercial main
 
deb http://archive.canonical.com/ubuntu edgy-commercial main
 
</nowiki></pre>
 
</nowiki></pre>
 
 
* '''Ubuntu 7.04''' «'''Feisty Fawn'''»:  
 
* '''Ubuntu 7.04''' «'''Feisty Fawn'''»:  
 
<pre><nowiki>
 
<pre><nowiki>
 
deb http://archive.canonical.com/ubuntu feisty-commercial main
 
deb http://archive.canonical.com/ubuntu feisty-commercial main
 
</nowiki></pre>
 
</nowiki></pre>
 
 
If you need help with adding the repository, see [[UbuntuWiki:Self:Repositories/Ubuntu#head-b75a0c6c7e357640731529980d3f3ad3614b9a76|Adding Canonical Commercial Repositories on Ubuntu]] or [[UbuntuWiki:Self:Repositories/Kubuntu#head-9a7a4519857af012ff775e9c0f15fbce60173676|Kubuntu]] on the Repositories wiki pages.
 
If you need help with adding the repository, see [[UbuntuWiki:Self:Repositories/Ubuntu#head-b75a0c6c7e357640731529980d3f3ad3614b9a76|Adding Canonical Commercial Repositories on Ubuntu]] or [[UbuntuWiki:Self:Repositories/Kubuntu#head-9a7a4519857af012ff775e9c0f15fbce60173676|Kubuntu]] on the Repositories wiki pages.
 
* Once the repository has been added, select '''Add/Remove...''' from the '''''Applications''''' menu.
 
* Once the repository has been added, select '''Add/Remove...''' from the '''''Applications''''' menu.
 
* To find Real''''''Player more easily, type '''Real''''''Player''' into the search box at the top. Check the box next to the search result and press '''OK'''
 
* To find Real''''''Player more easily, type '''Real''''''Player''' into the search box at the top. Check the box next to the search result and press '''OK'''
 
 
* To uninstall Real''''''Player, return to '''Add/Remove Applications''', uncheck the box next to Real''''''Player, then press '''OK'''.
 
* To uninstall Real''''''Player, return to '''Add/Remove Applications''', uncheck the box next to Real''''''Player, then press '''OK'''.
 
 
 
The package in the Commercial repository is called ''realplay''.
 
The package in the Commercial repository is called ''realplay''.
 
 
==== Install RealPlayer for Linux from the RealNetworks web site ====
 
==== Install RealPlayer for Linux from the RealNetworks web site ====
 
+
# Install the package ''libstdc++5''. Type  
* Install the package ''libstdc++5''. Type  
+
 
<pre><nowiki>
 
<pre><nowiki>
 
$ sudo aptitude install libstdc++5
 
$ sudo aptitude install libstdc++5
 
</nowiki></pre>
 
</nowiki></pre>
 
+
# Go to the [http://www.real.com/linux RealPlayer for Linux] web page and download the installer to your Desktop. A PowerPC version is avaliable from the [https://player.helixcommunity.org/2005/downloads/ Helix Player Download] page.
* Go to the [http://www.real.com/linux RealPlayer for Linux] web page and download the installer to your Desktop. A PowerPC version is avaliable from the [https://player.helixcommunity.org/2005/downloads/ Helix Player Download] page.
+
# Open the terminal and navigate to the file "RealPlayer10GOLD.bin". Type  
 
+
* Open the terminal and navigate to the file "RealPlayer10GOLD.bin". Type  
+
 
<pre><nowiki>
 
<pre><nowiki>
 
$ cd ~/Desktop
 
$ cd ~/Desktop
 
</nowiki></pre>
 
</nowiki></pre>
 
+
# Verify that the file is executable. If it isn't, type  
* Verify that the file is executable. If it isn't, type  
+
 
<pre><nowiki>
 
<pre><nowiki>
 
$ chmod a+x RealPlayer10GOLD.bin</nowiki></pre>
 
$ chmod a+x RealPlayer10GOLD.bin</nowiki></pre>
 
+
# Run the installer by typing  
* Run the installer by typing  
+
 
<pre><nowiki>
 
<pre><nowiki>
 
$ sudo ./RealPlayer10GOLD.bin</nowiki></pre> and enter your password.
 
$ sudo ./RealPlayer10GOLD.bin</nowiki></pre> and enter your password.
 
+
# Follow the prompts provided to finish installation.
* Follow the prompts provided to finish installation.
+
# When you launch the player for the first time, a set-up assistant will take you through configuring your player. You can run the set-up assistant again at any time by choosing Reset Real''''''Player from the Help menu.
 
+
* When you launch the player for the first time, a set-up assistant will take you through configuring your player. You can run the set-up assistant again at any time by choosing Reset Real''''''Player from the Help menu.
+
 
+
 
==== Install RealPlayer.deb using dkpg ====
 
==== Install RealPlayer.deb using dkpg ====
 
 
* Download `realplayer_10.0.9-0.1_i386.deb` from [http://www.debian-multimedia.org/pool/main/r/realplay/realplayer_10.0.9-0.1_i386.deb this mirror].
 
* Download `realplayer_10.0.9-0.1_i386.deb` from [http://www.debian-multimedia.org/pool/main/r/realplay/realplayer_10.0.9-0.1_i386.deb this mirror].
 
 
* To install Real''''''Player, open a Terminal command line and type  
 
* To install Real''''''Player, open a Terminal command line and type  
 
<pre><nowiki>
 
<pre><nowiki>
 
$ sudo dpkg -i realplayer_10.0.9-0.1_i386.deb
 
$ sudo dpkg -i realplayer_10.0.9-0.1_i386.deb
 
</nowiki></pre>
 
</nowiki></pre>
 
 
* To uninstall Real''''''Player, type  
 
* To uninstall Real''''''Player, type  
 
<pre><nowiki>
 
<pre><nowiki>
 
$ sudo dpkg -r realplayer</nowiki></pre>
 
$ sudo dpkg -r realplayer</nowiki></pre>
 
 
 
 
<br>
 
<br>
 
 
=== Troubleshooting RealPlayer for Linux ===
 
=== Troubleshooting RealPlayer for Linux ===
 
 
==== RealPlayer and Firefox 2 ====
 
==== RealPlayer and Firefox 2 ====
 
 
* '''External Protocol Handling''': ''I want Real''''''Player to handle Real''''''Audio and Real''''''Video files and streams (file extensions .ra, .rm, .rv, .ram, .smil) as well as the ''rtsp network protocol'', but Firefox wants to open these files and links with the Totem player. What to do?''
 
* '''External Protocol Handling''': ''I want Real''''''Player to handle Real''''''Audio and Real''''''Video files and streams (file extensions .ra, .rm, .rv, .ram, .smil) as well as the ''rtsp network protocol'', but Firefox wants to open these files and links with the Totem player. What to do?''
 
+
** To make Firefox 2 call Real''''''Player for realaudio / video files, go to "Edit > Preferences > Content > File Types > Manage...". Select the "real audio" file type and click "Change action.." Check the setting for "Open with the default application" (unless you have made changes to this setting previously, it will probably say Totem). If you want the file to open with an external program other than the default (like Real''''''Player), select "Open with this application" - you will then be prompted to select an application. Navigate to the start-up script for Real''''''Player ("realplay") located in the "Real''''''Player" program folder. The location will differ depending on the installation method you have chosen. For a typical install using the installer from the Real''''''Networks web site, it will be  
 
+
*** To make Firefox 2 call Real''''''Player for realaudio / video files, go to "Edit > Preferences > Content > File Types > Manage...". Select the "real audio" file type and click "Change action.." Check the setting for "Open with the default application" (unless you have made changes to this setting previously, it will probably say Totem). If you want the file to open with an external program other than the default (like Real''''''Player), select "Open with this application" - you will then be prompted to select an application. Navigate to the start-up script for Real''''''Player ("realplay") located in the "Real''''''Player" program folder. The location will differ depending on the installation method you have chosen. For a typical install using the installer from the Real''''''Networks web site, it will be  
+
 
<pre><nowiki>
 
<pre><nowiki>
 
/usr/local/RealPlayer/realplay</nowiki></pre>
 
/usr/local/RealPlayer/realplay</nowiki></pre>
 
Save and close the preference panel.   
 
Save and close the preference panel.   
 
+
* To prevent the MPlayer plugin from playing realaudio / video files, edit the plugin configuration file
** To prevent the MPlayer plugin from playing realaudio / video files, edit the plugin configuration file
+
 
<pre><nowiki>
 
<pre><nowiki>
 
gedit ~/.mplayer/mplayerplug-in.conf</nowiki></pre>
 
gedit ~/.mplayer/mplayerplug-in.conf</nowiki></pre>
第104行: 第68行:
 
enable-smil=0
 
enable-smil=0
 
enable-helix=0</nowiki></pre>
 
enable-helix=0</nowiki></pre>
 
+
* To make Firefox 2 use Real''''''Player for rtsp streams embedded in web page links, close Firefox and open the '''gconf editor''' from the '''Applications''' menu. Navigate to "desktop > gnome > url-handlers > rtsp". Check the value for "command" - it will probably read '''totem "%s"'''. Change the entry to read '''realplay "%s"''' and close gconf editor. '''Note''': make sure that a symbolic link of the "realplay" start-up script is in your system path, otherwise you'll need to enter the full path to "realplay" in the gconf entry. See below.
 
+
* '''Note''': Firefox will only evaluate the mime types that the plugin supports either when such plugin is updated or when '''$HOME/.mozilla/firefox/pluginreg.dat''' is missing. Therefore when you change any option you also need to either remove '''pluginreg.dat'''  
** To make Firefox 2 use Real''''''Player for rtsp streams embedded in web page links, close Firefox and open the '''gconf editor''' from the '''Applications''' menu. Navigate to "desktop > gnome > url-handlers > rtsp". Check the value for "command" - it will probably read '''totem "%s"'''. Change the entry to read '''realplay "%s"''' and close gconf editor. '''Note''': make sure that a symbolic link of the "realplay" start-up script is in your system path, otherwise you'll need to enter the full path to "realplay" in the gconf entry. See below.
+
 
+
** '''Note''': Firefox will only evaluate the mime types that the plugin supports either when such plugin is updated or when '''$HOME/.mozilla/firefox/pluginreg.dat''' is missing. Therefore when you change any option you also need to either remove '''pluginreg.dat'''  
+
 
<pre><nowiki>
 
<pre><nowiki>
 
rm $HOME/.mozilla/firefox/pluginreg.dat</nowiki></pre>
 
rm $HOME/.mozilla/firefox/pluginreg.dat</nowiki></pre>
第114行: 第75行:
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo touch /usr/lib/firefox/plugins/mplayerplug-in.so</nowiki></pre>
 
sudo touch /usr/lib/firefox/plugins/mplayerplug-in.so</nowiki></pre>
 
+
* Alternatively you can reset all of your mime type associations by deleting the '''mimeTypes.rdf''' file  
** Alternatively you can reset all of your mime type associations by deleting the '''mimeTypes.rdf''' file  
+
 
<pre><nowiki>  
 
<pre><nowiki>  
 
rm $HOME/.mozilla/firefox/dvibi9j3.default/mimeTypes.rdf</nowiki></pre>  
 
rm $HOME/.mozilla/firefox/dvibi9j3.default/mimeTypes.rdf</nowiki></pre>  
 
which is visible after enabling "Show Hidden Files".  The '''.default'''     
 
which is visible after enabling "Show Hidden Files".  The '''.default'''     
 
directory will have a random alpha-numeric name.
 
directory will have a random alpha-numeric name.
 
 
<br>
 
<br>
 
 
* '''Plugin Handling''': ''Firefox 2 won't play real media embedded in web pages. What's up with that?''
 
* '''Plugin Handling''': ''Firefox 2 won't play real media embedded in web pages. What's up with that?''
 
 
** Check whether the Real''''''Player plugin is installed correctly. Type '''about:plugins''' into the Firefox address bar. You will see a page with details of all currently installed plugins. Search for plugins that will handle real audio or real video files and streams. If you cannot find any, there is a problem with your plugin installation. Read on. More likely however, you will find at least two similarly named plugins that claim to handle real media:  
 
** Check whether the Real''''''Player plugin is installed correctly. Type '''about:plugins''' into the Firefox address bar. You will see a page with details of all currently installed plugins. Search for plugins that will handle real audio or real video files and streams. If you cannot find any, there is a problem with your plugin installation. Read on. More likely however, you will find at least two similarly named plugins that claim to handle real media:  
 
<pre><nowiki>
 
<pre><nowiki>
第130行: 第87行:
 
File name: libtotem-complex-plugin.so
 
File name: libtotem-complex-plugin.so
 
The Totem 2.16.2 plugin handles video and audio streams.</nowiki></pre>
 
The Totem 2.16.2 plugin handles video and audio streams.</nowiki></pre>
 
 
and  
 
and  
 
<pre><nowiki>
 
<pre><nowiki>
第137行: 第93行:
 
Helix DNA Plugin: RealPlayer G2 Plug-In Compatible
 
Helix DNA Plugin: RealPlayer G2 Plug-In Compatible
 
version 0.4.0.572 built with gcc 3.2.0 on Sep 15 2005</nowiki></pre>
 
version 0.4.0.572 built with gcc 3.2.0 on Sep 15 2005</nowiki></pre>
 
 
The first entry is a plugin for the Totem player; the second entry is the actual Real''''''Player plugin. Firefox will try to use the first plugin it finds that claims to handle a given file type. Unfortunately, the Totem plugin won't play real media files. Now, if we close the browser and look into the plugins folder of Firefox 2, located at  
 
The first entry is a plugin for the Totem player; the second entry is the actual Real''''''Player plugin. Firefox will try to use the first plugin it finds that claims to handle a given file type. Unfortunately, the Totem plugin won't play real media files. Now, if we close the browser and look into the plugins folder of Firefox 2, located at  
 
<pre><nowiki>
 
<pre><nowiki>
第145行: 第100行:
 
$ sudo rm -v /usr/lib/firefox/plugins/libtotem-complex-plugin.*</nowiki></pre>  
 
$ sudo rm -v /usr/lib/firefox/plugins/libtotem-complex-plugin.*</nowiki></pre>  
 
The plugin provided by Real''''''Player should now handle embedded real media.
 
The plugin provided by Real''''''Player should now handle embedded real media.
 
 
 
<br>
 
<br>
 
+
* ''When I try to view embedded real media in Firefox 2, a dialog box appears saying the following, what gives?''  
** ''When I try to view embedded real media in Firefox 2, a dialog box appears saying the following, what gives?''  
+
 
<pre><nowiki>
 
<pre><nowiki>
 
"Could not find an appropriate hxplay or realplay in the system path to use as an embedded player."</nowiki></pre>
 
"Could not find an appropriate hxplay or realplay in the system path to use as an embedded player."</nowiki></pre>
 
+
* Firefox is telling you that it cannot find an instance of the "realplay" start-up script for Real''''''Player in the system path. Close the browser, open a Terminal and create a symbolic link in your system path that points at the "realplay" script. An example of an appropriate location for your symbolic link would be  
*** Firefox is telling you that it cannot find an instance of the "realplay" start-up script for Real''''''Player in the system path. Close the browser, open a Terminal and create a symbolic link in your system path that points at the "realplay" script. An example of an appropriate location for your symbolic link would be  
+
 
<pre><nowiki>
 
<pre><nowiki>
 
$ ln -s /usr/local/RealPlayer/realplay /usr/local/bin/realplay</nowiki></pre>
 
$ ln -s /usr/local/RealPlayer/realplay /usr/local/bin/realplay</nowiki></pre>
第161行: 第112行:
 
$ /usr/local/bin/realplay</nowiki></pre>
 
$ /usr/local/bin/realplay</nowiki></pre>
 
The plugin provided by Real''''''Player should now handle embedded real media.
 
The plugin provided by Real''''''Player should now handle embedded real media.
 
 
 
<br>
 
<br>
 
 
* ''How can I verify that the Real''''''Player plugin for Firefox is properly installed?''
 
* ''How can I verify that the Real''''''Player plugin for Firefox is properly installed?''
 
 
** Enter '''about:config''' into the Firefox address bar. You will see a large list of configurable options for the Firefox browser. In the search bar, enter "plugin". Look for an entry named '''plugin.expose_full_path''' and set its value to '''true'''. (This will allow you to see the full path to the plugins in the next step.)
 
** Enter '''about:config''' into the Firefox address bar. You will see a large list of configurable options for the Firefox browser. In the search bar, enter "plugin". Look for an entry named '''plugin.expose_full_path''' and set its value to '''true'''. (This will allow you to see the full path to the plugins in the next step.)
 
** Enter '''about:plugins''' into the browser adress bar. You should now see a list of installed plugins along with some additional information and their locations in the file system. If you can see the ''Helix DNA Plugin: Real''''''Player G2 Plug-In Compatible'' plugin and the path to a file named ''nphelix.so'' is given, the plugin is installed correctly.
 
** Enter '''about:plugins''' into the browser adress bar. You should now see a list of installed plugins along with some additional information and their locations in the file system. If you can see the ''Helix DNA Plugin: Real''''''Player G2 Plug-In Compatible'' plugin and the path to a file named ''nphelix.so'' is given, the plugin is installed correctly.
 
** Another way to check is to look for the file pair ''nphelix.so'' and ''nphelix.xpt'' in the Firefox plugins folder. Depending on the way Real''''''Player was installed on your system, the plugins folder should either hold copies of or symbolic links to the plugin file pair; either should be ok.
 
** Another way to check is to look for the file pair ''nphelix.so'' and ''nphelix.xpt'' in the Firefox plugins folder. Depending on the way Real''''''Player was installed on your system, the plugins folder should either hold copies of or symbolic links to the plugin file pair; either should be ok.
 
 
==== RealPlayer and SCIM ====
 
==== RealPlayer and SCIM ====
 
 
RealPlayer might not start if using SCIM as the default input method. When trying to launch from the terminal one gets the error message
 
RealPlayer might not start if using SCIM as the default input method. When trying to launch from the terminal one gets the error message
 
 
<pre><nowiki>
 
<pre><nowiki>
 
Segmentation fault (core dumped)</nowiki></pre>
 
Segmentation fault (core dumped)</nowiki></pre>
 
 
This issue can be resolved by setting the environment variable GTK_IM_MODULE to the value xim (instead of scim).
 
This issue can be resolved by setting the environment variable GTK_IM_MODULE to the value xim (instead of scim).
 
 
<pre><nowiki>
 
<pre><nowiki>
 
export GTK_IM_MODULE=xim</nowiki></pre>
 
export GTK_IM_MODULE=xim</nowiki></pre>
 
 
After typing this in a terminal, RealPlayer can be started from this terminal. In order to make this setting the default, one can for example write a small shell script which first sets the above environment variable and then launches the RealPlayer.
 
After typing this in a terminal, RealPlayer can be started from this terminal. In order to make this setting the default, one can for example write a small shell script which first sets the above environment variable and then launches the RealPlayer.
 
 
<br>
 
<br>
 
 
=== See also ===
 
=== See also ===
 
 
[http://www.real.com/linux RealPlayer for Linux web page]
 
[http://www.real.com/linux RealPlayer for Linux web page]
 
 
[https://helixcommunity.org/ Helix Community web site]
 
[https://helixcommunity.org/ Helix Community web site]
 
 
[https://community.helixcommunity.org/2005/mailinglists Helix Community mailing list] and [https://helixcommunity.org/2002/irc/ IRC channel]
 
[https://community.helixcommunity.org/2005/mailinglists Helix Community mailing list] and [https://helixcommunity.org/2002/irc/ IRC channel]
 
 
[[UbuntuHelp:RestrictedFormats| Restricted Formats wiki page]]
 
[[UbuntuHelp:RestrictedFormats| Restricted Formats wiki page]]
 
 
[[UbuntuHelp:FirefoxPlugins| Firefox Plugins wiki page]]
 
[[UbuntuHelp:FirefoxPlugins| Firefox Plugins wiki page]]
 
 
[http://plugindoc.mozdev.org/linux.html Mozilla Plugin Support on Linux (x86)] and [http://plugindoc.mozdev.org/linux-amd64.html Linux (x86-64)], [http://plugindoc.mozdev.org/faqs/distronotes/ubuntu-x86.html Firefox Distribution Notes, Ubuntu Linux (x86)]
 
[http://plugindoc.mozdev.org/linux.html Mozilla Plugin Support on Linux (x86)] and [http://plugindoc.mozdev.org/linux-amd64.html Linux (x86-64)], [http://plugindoc.mozdev.org/faqs/distronotes/ubuntu-x86.html Firefox Distribution Notes, Ubuntu Linux (x86)]
 
 
[http://kb.mozillazine.org/Changing_media_handling_behaviour MozillaZine Knowledge Base: Changing Media Handling Behaviour]
 
[http://kb.mozillazine.org/Changing_media_handling_behaviour MozillaZine Knowledge Base: Changing Media Handling Behaviour]
 
 
[http://en.wikipedia.org/wiki/RealAudio Wikipedia page on RealAudio]
 
[http://en.wikipedia.org/wiki/RealAudio Wikipedia page on RealAudio]
 
 
[http://www.w3schools.com/media/media_mimeref.asp MIME type reference]
 
[http://www.w3schools.com/media/media_mimeref.asp MIME type reference]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月30日 (五) 21:12的版本

About RealPlayer

RealPlayer is a media player originally developed by Real'Networks way back in 1995. It supports a number of audio and video codecs such as realaudio, realvideo 10, mp3, ogg vorbis and theora, h263, and AAC. RealPlayer for Linux is based on the open-source Helix Player which can be found at the Helix Community Website. IconsPage?action=AttachFile&do=get&target=eyes.png Please NOTE': Real'Player is proprietary software and is not supported by the Ubuntu community.

Installing RealPlayer

Install RealPlayer from Canonical's Commercial Repositories

Add Canonical's Commercial Repositories to your system:

  • Ubuntu 6.06 «Dapper Drake»:
deb http://archive.canonical.com/ubuntu dapper-commercial main
  • Ubuntu 6.10 «Edgy Eft»:
deb http://archive.canonical.com/ubuntu edgy-commercial main
  • Ubuntu 7.04 «Feisty Fawn»:
deb http://archive.canonical.com/ubuntu feisty-commercial main

If you need help with adding the repository, see Adding Canonical Commercial Repositories on Ubuntu or Kubuntu on the Repositories wiki pages.

  • Once the repository has been added, select Add/Remove... from the Applications menu.
  • To find Real'Player more easily, type Real'Player into the search box at the top. Check the box next to the search result and press OK
  • To uninstall Real'Player, return to Add/Remove Applications, uncheck the box next to Real'Player, then press OK.

The package in the Commercial repository is called realplay.

Install RealPlayer for Linux from the RealNetworks web site

  1. Install the package libstdc++5. Type
$ sudo aptitude install libstdc++5
  1. Go to the RealPlayer for Linux web page and download the installer to your Desktop. A PowerPC version is avaliable from the Helix Player Download page.
  2. Open the terminal and navigate to the file "RealPlayer10GOLD.bin". Type
$ cd ~/Desktop
  1. Verify that the file is executable. If it isn't, type
$ chmod a+x RealPlayer10GOLD.bin
  1. Run the installer by typing
$ sudo ./RealPlayer10GOLD.bin
and enter your password.
  1. Follow the prompts provided to finish installation.
  2. When you launch the player for the first time, a set-up assistant will take you through configuring your player. You can run the set-up assistant again at any time by choosing Reset Real'Player from the Help menu.

Install RealPlayer.deb using dkpg

  • Download `realplayer_10.0.9-0.1_i386.deb` from this mirror.
  • To install Real'Player, open a Terminal command line and type
$ sudo dpkg -i realplayer_10.0.9-0.1_i386.deb
  • To uninstall Real'Player, type
$ sudo dpkg -r realplayer


Troubleshooting RealPlayer for Linux

RealPlayer and Firefox 2

  • External Protocol Handling': I want Real'Player to handle Real'Audio and Real'Video files and streams (file extensions .ra, .rm, .rv, .ram, .smil) as well as the rtsp network protocol, but Firefox wants to open these files and links with the Totem player. What to do?
    • To make Firefox 2 call Real'Player for realaudio / video files, go to "Edit > Preferences > Content > File Types > Manage...". Select the "real audio" file type and click "Change action.." Check the setting for "Open with the default application" (unless you have made changes to this setting previously, it will probably say Totem). If you want the file to open with an external program other than the default (like Real'Player), select "Open with this application" - you will then be prompted to select an application. Navigate to the start-up script for Real'Player ("realplay") located in the "Real'Player" program folder. The location will differ depending on the installation method you have chosen. For a typical install using the installer from the Real'Networks web site, it will be
/usr/local/RealPlayer/realplay

Save and close the preference panel.

  • To prevent the MPlayer plugin from playing realaudio / video files, edit the plugin configuration file
gedit ~/.mplayer/mplayerplug-in.conf

Change or add the following three lines

enable-rm=0
enable-smil=0
enable-helix=0
  • To make Firefox 2 use Real'Player for rtsp streams embedded in web page links, close Firefox and open the gconf editor' from the Applications menu. Navigate to "desktop > gnome > url-handlers > rtsp". Check the value for "command" - it will probably read totem "%s". Change the entry to read realplay "%s" and close gconf editor. Note: make sure that a symbolic link of the "realplay" start-up script is in your system path, otherwise you'll need to enter the full path to "realplay" in the gconf entry. See below.
  • Note: Firefox will only evaluate the mime types that the plugin supports either when such plugin is updated or when $HOME/.mozilla/firefox/pluginreg.dat is missing. Therefore when you change any option you also need to either remove pluginreg.dat
rm $HOME/.mozilla/firefox/pluginreg.dat

or simply update the plugin file time

sudo touch /usr/lib/firefox/plugins/mplayerplug-in.so
  • Alternatively you can reset all of your mime type associations by deleting the mimeTypes.rdf file
 
rm $HOME/.mozilla/firefox/dvibi9j3.default/mimeTypes.rdf

which is visible after enabling "Show Hidden Files". The .default directory will have a random alpha-numeric name.

  • Plugin Handling: Firefox 2 won't play real media embedded in web pages. What's up with that?
    • Check whether the Real'Player plugin is installed correctly. Type about:plugins' into the Firefox address bar. You will see a page with details of all currently installed plugins. Search for plugins that will handle real audio or real video files and streams. If you cannot find any, there is a problem with your plugin installation. Read on. More likely however, you will find at least two similarly named plugins that claim to handle real media:
Helix DNA Plugin: RealPlayer G2 Plug-In Compatible (compatible; Totem)
File name: libtotem-complex-plugin.so
The Totem 2.16.2 plugin handles video and audio streams.

and

Helix DNA Plugin: RealPlayer G2 Plug-In Compatible
File name: nphelix.so
Helix DNA Plugin: RealPlayer G2 Plug-In Compatible
version 0.4.0.572 built with gcc 3.2.0 on Sep 15 2005

The first entry is a plugin for the Totem player; the second entry is the actual Real'Player plugin. Firefox will try to use the first plugin it finds that claims to handle a given file type. Unfortunately, the Totem plugin won't play real media files. Now, if we close the browser and look into the plugins folder of Firefox 2, located at

/usr/lib/firefox/plugins 

we can see that most plugins offer a pair of files named foo.so and foo.xpt, and that they use symbolic links that point to the original installation locations. Therefore, we can safely remove the symbolic links to the non-functional Totem real media plugin

$ sudo rm -v /usr/lib/firefox/plugins/libtotem-complex-plugin.*

The plugin provided by Real'Player should now handle embedded real media.

  • When I try to view embedded real media in Firefox 2, a dialog box appears saying the following, what gives?
"Could not find an appropriate hxplay or realplay in the system path to use as an embedded player."
  • Firefox is telling you that it cannot find an instance of the "realplay" start-up script for Real'Player in the system path. Close the browser, open a Terminal and create a symbolic link in your system path that points at the "realplay" script. An example of an appropriate location for your symbolic link would be
$ ln -s /usr/local/RealPlayer/realplay /usr/local/bin/realplay

Test your work:

$ which realplay
$ /usr/local/bin/realplay

The plugin provided by Real'Player should now handle embedded real media.

  • How can I verify that the Real'Player plugin for Firefox is properly installed?
    • Enter about:config into the Firefox address bar. You will see a large list of configurable options for the Firefox browser. In the search bar, enter "plugin". Look for an entry named plugin.expose_full_path and set its value to true. (This will allow you to see the full path to the plugins in the next step.)
    • Enter about:plugins' into the browser adress bar. You should now see a list of installed plugins along with some additional information and their locations in the file system. If you can see the Helix DNA Plugin: Real'Player G2 Plug-In Compatible plugin and the path to a file named nphelix.so is given, the plugin is installed correctly.
    • Another way to check is to look for the file pair nphelix.so and nphelix.xpt in the Firefox plugins folder. Depending on the way Real'Player was installed on your system, the plugins folder should either hold copies of or symbolic links to the plugin file pair; either should be ok.

RealPlayer and SCIM

RealPlayer might not start if using SCIM as the default input method. When trying to launch from the terminal one gets the error message

Segmentation fault (core dumped)

This issue can be resolved by setting the environment variable GTK_IM_MODULE to the value xim (instead of scim).

export GTK_IM_MODULE=xim

After typing this in a terminal, RealPlayer can be started from this terminal. In order to make this setting the default, one can for example write a small shell script which first sets the above environment variable and then launches the RealPlayer.

See also

RealPlayer for Linux web page Helix Community web site Helix Community mailing list and IRC channel Restricted Formats wiki page Firefox Plugins wiki page Mozilla Plugin Support on Linux (x86) and Linux (x86-64), Firefox Distribution Notes, Ubuntu Linux (x86) MozillaZine Knowledge Base: Changing Media Handling Behaviour Wikipedia page on RealAudio MIME type reference