如何在Ubuntu上安装RealPlayer(How to install RealPlayer on Ubuntu) 本来在Ubuntu上安装RealPlayer应该是很容易的,就是直接在终端中键入USDLinux联盟 sudo apt-get install realplayerUSDLinux联盟 就可以了的,但是我如此操作只能得到USDLinux联盟 USDLinux联盟 正在读取软件包列表... 完成USDLinux联盟 正在分析软件包的依赖关系树 USDLinux联盟 Reading state information... 完成 USDLinux联盟 现在没有可用的软件包 realplayer,但是它被其它的软件包引用了。USDLinux联盟 这可能意味着这个缺失的软件包可能已被废弃,USDLinux联盟 或者只能在其他发布源中找到USDLinux联盟 E: 软件包 realplayer 还没有可供安装的候选者USDLinux联盟 我已经用了官方的源和LupaWorld的源都是如此。于是准备自己手动安装RealPlayer。USDLinux联盟 先到RealPlayer官方网站上下载:USDLinux联盟 http://www.real.com/linux/?src=020923home_cn_cnUSDLinux联盟 将文件RealPlayer10GOLD.bin保存到主文件夹中,即/home/[yourusername]文件夹下。USDLinux联盟 然后打开终端,进行如下操作:USDLinux联盟 $chmod +x RealPlayer10GOLD.binUSDLinux联盟 $sudo ./RealPlayer10GOLD.binUSDLinux联盟 当终端显示USDLinux联盟 USDLinux联盟 Welcome to the RealPlayer (10.0.8.805) Setup for UNIXUSDLinux联盟 Setup will help you get RealPlayer running on your computer.USDLinux联盟 Press [Enter] to continue...USDLinux联盟 时按下回车键,进入下一步:USDLinux联盟 USDLinux联盟 Enter the complete path to the directory where you wantUSDLinux联盟 RealPlayer to be installed. You must specify the fullUSDLinux联盟 pathname of the directory and have write privileges toUSDLinux联盟 the chosen directory.USDLinux联盟 Directory: [/home/shixinyu/RealPlayer]: USDLinux联盟 这里默认安装到用户的主文件夹下的RealPlayer目录下,如果你想要安装到别处,就在此处输入路径,否则直接回车即可。USDLinux联盟 USDLinux联盟 You have selected the following RealPlayer configuration:USDLinux联盟 USDLinux联盟 Destination: /home/shixinyu/RealPlayerUSDLinux联盟 USDLinux联盟 Enter [F]inish to begin copying files, or [P]revious to goUSDLinux联盟 back to the previous prompts: [F]: FUSDLinux联盟 安装程序会提示最后确定信息,如果都确定了,按下F键后回车。USDLinux联盟 当提示USDLinux联盟 USDLinux联盟 Copying RealPlayer files...configure system-wide symbolic links? [Y/n]: USDLinux联盟 时按下Y键回车即可,后面基本上就没有需要用户操作的地方了,通常到这里基本上就安装好了,你可以到“应用程序,影音”下找到RealPlayer10来运行了,首次运行会有一段安装协议需要同意。USDLinux联盟 USDLinux联盟 注:如果在跟着上述步骤完成安装操作之后到应用程序菜单下的“影音”中单击RealPlayer无反应,并且你的Ubuntu安装的是SCIM输入法,那么很可能是SCIM与RealPlayer的冲突,你还需要进行下面操作:USDLinux联盟 $sudo gedit /home/[yourid]/RealPlayer/realplay \\[yourid]指你的主文件夹名USDLinux联盟 在打开的文本编辑器的首行添加下面一行USDLinux联盟 export GTK_IM_MODULE=ximUSDLinux联盟 USDLinux联盟 之后保存文本编辑器,然后再次执行RealPlayer应该就正常了。USDLinux联盟 USDLinux联盟 如果你是新手,USDLinux联盟 sudo gedit /etc/apt/sources.listUSDLinux联盟 添加源USDLinux联盟 deb http://archive.canonical.com/ubuntu dapper-commercial mainUSDLinux联盟 保存退出USDLinux联盟 sudo atp-get updateUSDLinux联盟 USDLinux联盟 sudo apt-get install realplayUSDLinux联盟 USDLinux联盟 就可以安装成功了。