在Ubuntu下手动安装bin文件,用RealPlayer来说明。
2009-12-01 20:51
567 查看
方法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
添加源
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
相关文章推荐
- ubuntu中安装deb、bin、rpm、及源程序文件
- Ubuntu下安装与卸载bin文件
- ubuntu安装bin文件
- Ubuntu下bin文件的安装
- ubuntu中安装deb、bin、rpm、及源程序文件
- Ubuntu下bin文件的安装
- 【转】ubuntu下bin文件的安装F
- ubuntu 下.bin文件的安装
- Ubuntu下bin文件的安装
- Ubuntu下bin文件的安装
- ubuntu 安装bin 文件不能执行的问题
- Ubuntu(Linux)下安装bin文件
- ubuntu下如何安装.bin文件
- ubuntu中安装deb、bin、rpm、及源程序文件
- Ubuntu下如何安装.bin文件
- 解决ubuntu下安装bin文件的问题libstdc++.so.5
- Ubuntu下bin文件的安装
- Ubuntu上安装*.bin文件
- Ubuntu下bin文件的安装
- 【摘录】ubuntu利用.bin文件安装并配置jdk