- 1 Introduction
- 2 Screenshot
- 3 Installing RealPlayer11
- 4 64-bit RealPlayer
- 5 Running RealPlayer
- 6 Firefox 3 RealPlayer Plugin
- 7 Uninstalling RealPlayer
- 8 See also
- 9 External links
!RealPlayer is a media player originally developed by RealNetworks in 1995. It supports a number of audio and video codecs such as realaudio, realvideo, 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.
|Please Note: RealPlayer is proprietary software, is not supported by the Ubuntu community, and is not available from the official Ubuntu repositories. It is located in the non-free section of third-party repositories which the user must specifically enable.|
When an newer version of RealPlayer becomes available change the file name accordingly in the terminal commands presented in this guide. !RealPlayer can be installed through a variety of methods. The installation methods presented below are listed in priority to allow the best integration with Ubuntu.
- Installations via a .deb package will be registered with APT. Third-party repositories may offer updates. Package removal can be accomplished via the Terminal or Synaptic.
- Some third-party repositories, like those maintained by [Medibuntu, have introduced authentication procedures which help ensure the integrity of the available files.
- The .deb packages created with alien may differ from the same type of packages offered by third-party organizations. If possible, use existing .deb packages rather convert .rpm files.
- !RealPlayer installations from .bin files will not be registered with APT, are not supported by respository updates, and must be removed manually.
The release version of !RealPlayer11 is a 32-bit application. It can be run on 64-bit systems with 32-bit libraries which are automatically installed by Synaptic or APT. A true 64-bit version is under development. Please refer to the 64-bit RealPlayer section of this guide. Once installed, !RealPlayer is accessed via Applications > Sound & Video > !RealPlayer11 or entering realplay or realplayer in the Terminal. Since previous versions run only with the first command, realplay will be used in this guide for compatibility purposes. After installation please review the Running RealPlayer section of this guide for setup notes.
Install realplayer from the Repositories
- Add the Medibuntu Repositories
- The following command will register the Medibuntu repository with your system's Advanced Packaging Tool (APT) and import the Medibuntu keyring. The command should be run in the Terminal (Applications -> Accessories -> Terminal). The command is not release specific - it will determine which version of Ubuntu is running and install the appropriate repositories.
sudo wget http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list --output-document=/etc/apt/sources.list.d/medibuntu.list; sudo apt-get -q update; sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring; sudo apt-get -q update
- A line similar to the following will be created in /etc/apt/sources.list.d/medibuntu.list. The entry will reflect the codename of the Ubuntu release you are currently using (i.e. hardy, intrepid, jaunty, etc).
deb http://packages.medibuntu.org/ hardy free non-free
- For more information about adding the Medibuntu repository, please visit the Medibuntu|wiki.
- Install !RealPlayer via Synaptic or the Terminal
Synaptic. Open Synaptic via System > Administration > Synaptic Package Manager.
- Press Reload to update the repository package lists.
- Select realplayer from the package window, then Apply from the main Synaptic menu.
|Hint: If you can't find realplayer listed in Synaptic's right pane, ensure that All is selected in the left pane and type realplayer in the quick seach window near the top right. The lower right pane contains information about the selected package. If you can't find realplayer listed, open Settings, Repositories, Third-Party Software and ensure the Medibuntu repository is enabled.|
Terminal. Open the Terminal via Applications > Accessories > Terminal.
sudo apt-get update sudo apt-get install realplayer
Note: The .deb package currently available from the RealNetworks site is a 32-bit build of !RealPlayer. The .deb file available from the Medibuntu repository will run on 64-bit systems. File Browser or Desktop Install
- Download the latest !RealPlayer .deb file from the Real website.
- Select the DEB Package link.
- Locate the downloaded file. The default location for downloads is usually your Desktop (~/Desktop). If not found, use a file browser to locate the downloaded file. Double click RealPlayer11GOLD.deb. The gdebi installer will open and install the !RealPlayer package.
- The default installation location is /opt/real/RealPlayer.
|Clicking the Install Package button will start the gdebi installer. A list of the additional packages which will be installed can be viewed by clicking the Details button, while additional files can be seen by selecting the Included Files tab.|
- Once installed, Synaptic will display the installation as realplayer.
- If you attempt to install the 32-bit .deb package on a 64-bit operating system you will get the following message: Error: Wrong architecture 'i386'
- Terminal Installation. Open the Terminal (Applications > Accessories > Terminal) and enter the following:
cd $HOME/Desktop sudo dpkg -i RealPlayer11GOLD.deb
- If the downloaded file is not on the user's Desktop, change the first command to the appropriate location.
- If asked for a password, enter your user password. You will not see any characters as you type.
- If the version of !RealPlayer changes, either make the correction to the above command or type "sudo dpkg -i !RealPlayer" and press the Tab key twice to autocomplete the filename.
Note: The RealPlayer package installed via this method is not registered by APT and will not be displayed in Synaptic. 64-bit versions of !RealPlayer are available from Real/Helix's nightly builds page.
- Download the !RealPlayer .bin package from the RealPlayer for Linux web page. The default download location is the user's Desktop.
|Clicking on this button on the RealPlayer web page will start the download process for the !RealPlayer .bin package. Installing !RealPlayer in this way is not the preferred method of installing this application.|
- Open the Terminal and navigate to the file `RealPlayer11GOLD.bin`. Type:
- Make the file executable:
chmod a+x RealPlayer11GOLD.bin
- Run the installer by typing the following command:
Enter your password when asked. You will not see any characters as you type.
- Follow the prompts provided to finish installation.
- The default location for the .bin installation of !RealPlayer is /opt/real/RealPlayer and the run command is /usr/bin/realplay.
- 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 !RealPlayer from the Help menu.
- Create a link to the realplay startup script in /usr/local/bin to ensure the script is included in the system's $PATH:
sudo ln -s /opt/real/RealPlayer/realplay /usr/local/bin
Note: A PowerPC version is avaliable from the Helix Player Download page.
Note: The .rpm downloads available on the Real site are currently 32-bit only. 64-bit versions of !RealPlayer are available from Real/Helix's nightly builds page. RPM (Redhat Package Manager) files can be converted to .deb files or installed directly with an application called alien, which is available in Synaptic's main respository. Click here to learn about how to install alien.
- Download the latest !RealPlayer .rpm file from here.
- To convert the !RealPlayer .rpm to a .deb file :
- To convert the !RealPlayer .deb file and then install it:
sudo alien -i RealPlayer11GOLD.rpm
- The converted/installed .deb file will be registered in APT and will be listed in Synaptic as realplayer. It can be viewed under Synaptic's All or Local/non-free filter.
The realplayer version in the Medibuntu repositories is 64-bit compatible. Several 32-bit libraries will be installed as dependencies. The .deb and .rpm files available from the Real website are 32-bit versions. 64-bit versions of !RealPlayer currently under development are available from Real/Helix's nightly builds page in tar.bz2 files. Look for the download package with amd64 in the title. Example: linux-2.6-glibc23-amd64 <<Anchor(Running)>>
!RealPlayer can run as a standalone media player or as a plugin to Firefox and some other browsers. Currently the 32-bit version integrates well with Ubuntu while the 64-bit version and plugins are still not fully developed. $PATH. If !RealPlayer won't start, make sure that a symbolic link of the realplay start-up script is in your system path. To check, run this command in Terminal:
which realplay # The command should return: /usr/bin/realplay
If it is not, the user will need to enter the full path to realplayer when the command is run or entered into scripts. If the !RealPlayer startup script (realplay) is not located in /usr/bin or /usr/local/bin, create a symbolic link so the startup script will be located by the system. The following example is for a !RealPlayer installation into the /opt/real/Realplayer folder. If !RealPlayer was installed in another folder, change /opt/real/RealPlayer to reflect the actual location:
sudo ln -s /opt/real/RealPlayer/realplay /usr/local/bin
External Protocol Handling: As a standalone player, the default Ubuntu settings may start Totem when a !RealPlayer file is selected (.ra, .rm, .rv, .ram, .smil, etc.). If these files are not opened with !RealPlayer, the application may start and then crash or close.
|To change the default to !RealPlayer, right click on the file, select Properties > Open With and then !RealPlayer. If it is not a choice, select Open with Other Application and select it.|
|If not listed, expand Use custom command and the Browse button to point it to the !RealPlayer run file. By default, this is /usr/bin/realplayer. If not installed from the Medibuntu repositories, the location may be /opt/real/RealPlayer.|
Firefox 3 RealPlayer Plugin
- The plugin files are nphelix.so and nphelix.xpt. With the Synaptic installation using the Medibuntu repositories, they are normally installed in /usr/lib/mozilla/plugins with symlinks placed in the appropriate Firefox folders.
|Set Firefox to Play RealAudio/Video Files|
|From the Firefox main menu: Edit > Preferences: Applications tab. *|
|Scroll to RA files or RealAudio Document.|
|In the Action column, click the enabled action (such as Always ask).|
|Select Use realplay or Use other and browse to the realplay run file.|
|Using the Medibuntu repositories, this file will be /usr/bin/realplay.|
|* In FF 2, open Edit > Preferences > Content > File Types: Manage.|
If Firefox will not open RealAudio/Video files:
|Check the !RealPlayer plugin installation and location. Restart Firefox. From the Firefox 3 menu, select Edit > Preferences: Plugins. You should see the !RealPlayer plugin as depicted in the screenshot to the right:||https://help.ubuntu.com/community/RealPlayerInstallationMethods?action=AttachFile&do=get&target=realplayer.ff.plugin.png|
- It the plugin isn't listed, investigate further by accomplishing the following:
- Set Firefox to display the full plugin path when the about:plugins feature is used:
- Type about:config in the Firefox address bar and acknowledge the warning.
- Type plugin in the Filter field.
- Find plugin.expose_full_path. Double click to change the value to true.
- Type about:plugins in the Firefox address bar.
- Find the !RealPlayer plugin. You should see something similar to this if the plugin is installed:
- Ensure the plugin references nphelix.so. If it points to a totem file, note the location and remove or rename that file.
MPlayer plugin conflicts (if installed):
- To prevent the MPlayer plugin from playing RealAudio/Video files, edit the plugin configuration file ~/.mplayer/mplayerplug-in.conf and change or add the following three lines:
- To make Firefox use !RealPlayer for rtsp streams embedded in web page links, close Firefox and open the gconf editor from the Applications menu:
- Check the value for "command" - it will probably read totem "%s". Change the entry to read realplay "%s" and then close gconf editor.
- 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. To update the mime-types:
sudo touch /usr/lib/firefox/plugins/mplayerplug-in.so # If this file exists. # or rm $HOME/.mozilla/firefox/pluginreg.dat # If this file exists.
Removing .deb installs
- Highlight the realplayer package, right click and select Mark for removal or Mark for complete removal.
- Press the Apply button in Synaptic's main menu.
- Terminal. Use one of the following commands:
sudo apt-get remove realplayer # or sudo apt-get purge realplayer # or sudo dpkg -r realplayer
Removing .bin installs
- To remove !RealPlayer package installed via the .bin file run the following command:
- Once this script has been run it is safe to remove the /opt/real folder and subfolders.
- If the package was installed in another folder, run the postuninst.sh script from that folder.
Removing .rpm installs
- !RealPlayer installations made with .rpm files via alien are installed into the system as .deb files. Refer to that section for removal instructions.
- RealPlayer for Linux web page
- RealPlayer audio & video test files
- Helix Community web site
- Helix Community mailing list and IRC channel
- Mozilla Plugin Support on Linux (x86)
- Mozilla Plugin Support on Linux (x86-64)
- Firefox Distribution Notes, Ubuntu Linux (x86)
- MozillaZine Knowledge Base: Changing Media Handling Behaviour
- Ubuntu 8.04 Hardy Guide - RealPlayer 11
- Wikipedia page on RealAudio
- MIME type reference