在Ubuntu下手动安装bin文件,用RealPlayer来说明。

方法1

添加源
deb http://archive.canonical.com/ubuntu dapper-commercial main
保存退出
sudo apt-get update
sudo apt-get install realplay

方法2

先到RealPlayer官方网站上下载:
http://www.real.com/linux/?src=020923home_cn_cn
将文件RealPlayer10GOLD.bin保存到主文件夹中,即/home/[yourusername]文件夹下。
然后打开终端,进行如下操作:
chmod +x RealPlayer11GOLD.bin
[经实际测试,这里应该为chmod u+x Realplayer11GOLD.bin,如果你的下载文件为是这个,那么应换成你的相应名字。该命令用来实现给该文件一个可执行的权利。]
sudo ./RealPlayer10GOLD.bin

上面中的sudo十分重要。


当终端显示

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 to be installed. You must specify the full
pathname of the directory and have write privileges to
the chosen directory.
Directory: [/home/shixinyu/RealPlayer]:


一般为/opt/real/RealPlayerr下
这里默认安装到用户的主文件夹下的RealPlayer目录下,如果你想要安装到别处,就在此处输入路径,否则直接回车即可。

You have selected the following RealPlayer configuration:

Destination: /home/shixinyu/RealPlayer

Enter [F]inish to begin copying files, or [P]revious to go
back to the previous prompts: [F]: F

安装程序会提示最后确定信息,如果都确定了,按下F键后回车。
当提示

Copying RealPlayer files...configure system-wide symbolic links? [Y/n]:

时按下Y键回车即可,后面基本上就没有需要用户操作的地方了,通常到这里基本上就安装好了,你可以到“应用程序,影音”下找到RealPlayer11来运行了,首次运行会有一段安装协议需要同意。

 

为了方便管理,将安装目录拷贝到/opt下:

  sudo cp /home/realplayer /opt

  为了能用终端打开程序,需要建立一个连接:

  ln -s /home/realplayer/realplay /bin
(可能要加sudo)
  现在可以在终端中输入realplay打开程序了,或是在应用程序菜单中的多媒体影间中找到。

卸载的方法为:

sudo /opt/real/RealPlayer/postinst/postuninst.sh
sudo rm -fr /opt/real

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值