本來在Ubuntu上安裝RealPlayer應該是很容易的,就是直接在終端中鍵入
sudo apt-get install realplayer
就可以了的,但是我如此操作只能得到
正在讀取軟件包列表... 完成我已經用了官方的源和LupaWorld的源都是如此。於是準備自己手動安裝RealPlayer。
正在分析軟件包的依賴關係樹
Reading state information... 完成
現在沒有可用的軟件包 realplayer,但是它被其它的軟件包引用了。
這可能意味着這個缺失的軟件包可能已被廢棄,
或者只能在其他發佈源中找到
E: 軟件包 realplayer 還沒有可供安裝的候選者
先到RealPlayer官方網站上下載:
http://www.real.com/linux/?src=020923home_cn_cn
將文件RealPlayer10GOLD.bin保存到主文件夾中,即/home/[yourusername]文件夾下。
然後打開終端,進行如下操作:
$chmod +x RealPlayer10GOLD.bin
$sudo ./RealPlayer10GOLD.bin
當終端顯示
Welcome to the RealPlayer (10.0.8.805) Setup for UNIX時按下回車鍵,進入下一步:
Setup will help you get RealPlayer running on your computer.
Press [Enter] to continue...
Enter the complete path to the directory where you want這裏默認安裝到用戶的主文件夾下的RealPlayer目錄下,如果你想要安裝到別處,就在此處輸入路徑,否則直接回車即可。
RealPlayer to be installed. You must specify the full
pathname of the directory and have write privileges to
the chosen directory.
Directory: [/home/shixinyu/RealPlayer]:
You have selected the following RealPlayer configuration:安裝程序會提示最後確定信息,如果都確定了,按下F鍵後回車。
Destination: /home/shixinyu/RealPlayer
Enter [F]inish to begin copying files, or [P]revious to go
back to the previous prompts: [F]: F
當提示
Copying RealPlayer files...configure system-wide symbolic links? [Y/n]:時按下Y鍵回車即可,後面基本上就沒有需要用戶操作的地方了,通常到這裏基本上就安裝好了,你可以到“應用程序,影音”下找到RealPlayer10來運行了,首次運行會有一段安裝協議需要同意。
注:如果在跟着上述步驟完成安裝操作之後到應用程序菜單下的“影音”中單擊RealPlayer無反應,並且你的Ubuntu安裝的是SCIM輸入法,那麼很可能是SCIM與RealPlayer的衝突,你還需要進行下面操作:
$sudo gedit /home/[yourid]/RealPlayer/realplay //[yourid]指你的主文件夾名
在打開的文本編輯器的首行添加下面一行
export GTK_IM_MODULE=xim
之後保存文本編輯器,然後再次執行RealPlayer應該就正常了。
RealPlayer 在 ubuntu 中光有圖像沒有聲音的問題:
* 首先安裝 ALSA OSS 驅動程序:
$ sudo apt-get install alsa-oss
* 然後編輯啓動腳本 (/usr/lib/realplay-10.0.8/realplay) 並將第 73 行從
$REALPLAYBIN “$@”
改成
aoss $REALPLAYBIN “$@”
RealPlayer 在 ubuntu 中很卡:
$ sudo apt-get install alsa-oss
$ aoss realplay