总结:linux下安装mplayer详细步骤和问题解决
2013-06-02 22:30
633 查看
http://sourceforge.net --->下载mplayer
http://www.mplayerhq.hu/design7/news.html
在谷歌里搜yasm下载yasm
总体步骤
yasm--》mplayer--》skin
编译安装详细步骤
1.下载yasm
先解压文件tar -xf yasm-1.2.0.tar.gz
进入目录 cd yasm-1.2.0
标准三步安装好
./configure
make
make install
2.解压mplayer,进入目录
第一步:
[root@teacher MPlayer-1.1]# ./configure --enable-gui
***
注意:
若执行上条命令出错,可以尝试用以下命令来安装所需的图形界面文件
[root@station6 MPlayer-1.1]# yum install gnome-*
**
第二步:
make
第三步:
make install
安装好了?哈哈,这时候打开播放器能正常运行了么?不好意思,你将只会看到这个:
所以呢,你必须还要执行下面的操作,安装skin,要有耐心哦~~就快好了
3.安装skin
[root@station6 skin]# ls
Blue-1.8.tar.bz2 standard-1.9.tar.bz2
[root@station6 skin]# tar xf Blue-1.8.tar.bz2
[root@station6 skin]# ls
Blue Blue-1.8.tar.bz2 standard-1.9.tar.bz2
[root@station6 skin]# cp Blue /usr/local/share/mplayer/skins/ -r
[root@station6 skin]# cd /usr/local/share/mplayer/skins/
[root@station6 skins]# ls
Blue
[root@station6 skins]#mv Blue/ default 改名,注意必须改为default
[root@station6 skins]#
####################################################################
第二次安装出现的错误情况分享:
下载所需要的软件
编译安装mplayer步骤:
第一步: yasm
[root@localhost software]# ls
cmatrix-1.2a.tar.gz mplayer ntfs-3g_ntfsprogs-2011.4.12.tgz 唐到此一游
[root@localhost software]#
[root@localhost software]# cd mplayer/
[root@localhost mplayer]# ls
MPlayer-1.1.tar.xz skin tiexuedanxin.mp3 xiyou.rmvb yasm-1.2.0.tar.gz
[root@localhost mplayer]#tar -xf yasm-1.2.0.tar.gz
[root@localhost mplayer]# cd yasm-1.2.0
然后标准三步安装好
./configure
make
make install
第二步:MPlayer
[root@localhost mplayer]# ls
MPlayer-1.1.tar.xz tiexuedanxin.mp3 yasm-1.2.0
skin xiyou.rmvb yasm-1.2.0.tar.gz
[root@localhost mplayer]# tar
xf MPlayer-1.1.tar.xz
[root@localhost mplayer]# ls
MPlayer-1.1 skin xiyou.rmvb yasm-1.2.0.tar.gz
MPlayer-1.1.tar.xz tiexuedanxin.mp3 yasm-1.2.0
[root@localhost mplayer]# cd MPlayer-1.1
[root@localhost MPlayer-1.1]#./configure --enable-gui 不能正常安装
[root@localhost MPlayer-1.1]# yum install gnome* 安装GUI组件
[root@localhost MPlayer-1.1]#./configure --enable-gui
还有错误:
Checking for GTK version ...
Error: The GUI requires GTK devel packages (which were not found).
Check "config.log" if you do not understand why it failed.
还需要安装GTK组件,自己尝试了下
[root@localhost MPlayer-1.1]# yum install *gtk*
还是有同样错误:
Checking for GTK+ version ... GTK-2 devel packages were not found, trying GTK 1.2
Checking for GTK version ...
Error: The GUI requires GTK devel packages (which were not found).
Check "config.log" if you do not understand why it failed.
最后用极端的方法,安装了所有的安装软件
[root@localhost MPlayer-1.1]#
yum install *devel*
[root@localhost MPlayer-1.1]# make
[root@localhost MPlayer-1.1]# make install
这样之后的安装就跟第一次安装的情况相同了。
第三步:安装skin
[root@localhost skin]#
ls
Blue-1.8.tar.bz2 standard-1.9.tar.bz2
[root@localhost skin]# tar xf Blue-1.8.tar.bz2
[root@localhost skin]#
ls
Blue Blue-1.8.tar.bz2 standard-1.9.tar.bz2
[root@localhost skin]# cp Blue /usr/local/share/mplayer/skins/ -r
[root@localhost skin]# cd /usr/local/share/mplayer/skins/
[root@localhost skins]# ls
Blue
[root@localhost skins]#mv Blue/ default 改名,注意必须改为default
第四步:加载声卡驱动
[root@localhost MPlayer-1.1.1]# modprobe snd_pcm_oss
这次这个问题解决的很是揪心啊,为了一个GTK装了所有的,等了好久。不过成功了,还是感觉不错,嘿嘿!还是老师聪明。
指导老师:双星科技---冯老师
http://www.mplayerhq.hu/design7/news.html
在谷歌里搜yasm下载yasm
总体步骤
yasm--》mplayer--》skin
编译安装详细步骤
1.下载yasm
先解压文件tar -xf yasm-1.2.0.tar.gz
进入目录 cd yasm-1.2.0
标准三步安装好
./configure
make
make install
2.解压mplayer,进入目录
第一步:
[root@teacher MPlayer-1.1]# ./configure --enable-gui
***
注意:
若执行上条命令出错,可以尝试用以下命令来安装所需的图形界面文件
[root@station6 MPlayer-1.1]# yum install gnome-*
**
第二步:
make
第三步:
make install
安装好了?哈哈,这时候打开播放器能正常运行了么?不好意思,你将只会看到这个:
所以呢,你必须还要执行下面的操作,安装skin,要有耐心哦~~就快好了
3.安装skin
[root@station6 skin]# ls
Blue-1.8.tar.bz2 standard-1.9.tar.bz2
[root@station6 skin]# tar xf Blue-1.8.tar.bz2
[root@station6 skin]# ls
Blue Blue-1.8.tar.bz2 standard-1.9.tar.bz2
[root@station6 skin]# cp Blue /usr/local/share/mplayer/skins/ -r
[root@station6 skin]# cd /usr/local/share/mplayer/skins/
[root@station6 skins]# ls
Blue
[root@station6 skins]#mv Blue/ default 改名,注意必须改为default
[root@station6 skins]#
####################################################################
第二次安装出现的错误情况分享:
下载所需要的软件
编译安装mplayer步骤:
第一步: yasm
[root@localhost software]# ls
cmatrix-1.2a.tar.gz mplayer ntfs-3g_ntfsprogs-2011.4.12.tgz 唐到此一游
[root@localhost software]#
[root@localhost software]# cd mplayer/
[root@localhost mplayer]# ls
MPlayer-1.1.tar.xz skin tiexuedanxin.mp3 xiyou.rmvb yasm-1.2.0.tar.gz
[root@localhost mplayer]#tar -xf yasm-1.2.0.tar.gz
[root@localhost mplayer]# cd yasm-1.2.0
然后标准三步安装好
./configure
make
make install
第二步:MPlayer
[root@localhost mplayer]# ls
MPlayer-1.1.tar.xz tiexuedanxin.mp3 yasm-1.2.0
skin xiyou.rmvb yasm-1.2.0.tar.gz
[root@localhost mplayer]# tar
xf MPlayer-1.1.tar.xz
[root@localhost mplayer]# ls
MPlayer-1.1 skin xiyou.rmvb yasm-1.2.0.tar.gz
MPlayer-1.1.tar.xz tiexuedanxin.mp3 yasm-1.2.0
[root@localhost mplayer]# cd MPlayer-1.1
[root@localhost MPlayer-1.1]#./configure --enable-gui 不能正常安装
[root@localhost MPlayer-1.1]# yum install gnome* 安装GUI组件
[root@localhost MPlayer-1.1]#./configure --enable-gui
还有错误:
Checking for GTK version ...
Error: The GUI requires GTK devel packages (which were not found).
Check "config.log" if you do not understand why it failed.
还需要安装GTK组件,自己尝试了下
[root@localhost MPlayer-1.1]# yum install *gtk*
还是有同样错误:
Checking for GTK+ version ... GTK-2 devel packages were not found, trying GTK 1.2
Checking for GTK version ...
Error: The GUI requires GTK devel packages (which were not found).
Check "config.log" if you do not understand why it failed.
最后用极端的方法,安装了所有的安装软件
[root@localhost MPlayer-1.1]#
yum install *devel*
[root@localhost MPlayer-1.1]# make
[root@localhost MPlayer-1.1]# make install
这样之后的安装就跟第一次安装的情况相同了。
第三步:安装skin
[root@localhost skin]#
ls
Blue-1.8.tar.bz2 standard-1.9.tar.bz2
[root@localhost skin]# tar xf Blue-1.8.tar.bz2
[root@localhost skin]#
ls
Blue Blue-1.8.tar.bz2 standard-1.9.tar.bz2
[root@localhost skin]# cp Blue /usr/local/share/mplayer/skins/ -r
[root@localhost skin]# cd /usr/local/share/mplayer/skins/
[root@localhost skins]# ls
Blue
[root@localhost skins]#mv Blue/ default 改名,注意必须改为default
第四步:加载声卡驱动
[root@localhost MPlayer-1.1.1]# modprobe snd_pcm_oss
这次这个问题解决的很是揪心啊,为了一个GTK装了所有的,等了好久。不过成功了,还是感觉不错,嘿嘿!还是老师聪明。
指导老师:双星科技---冯老师
相关文章推荐
- linux 单机安装 Elasticsearch6.0.0 详细步骤以及问题解决方案
- linux 安装 Elasticsearch5.6.x 详细步骤以及问题解决方案
- Linux下编译安装MySQL步骤和问题解决
- linux安装oracle 11g r2 详细步骤及问题
- Linux系统安装NoSQL(MongoDB和Redis)步骤及问题解决办法(总结篇)
- linux安装oracle 11g r2 详细步骤及问题
- [记录]在Linux中Oracle安装成功后,首次启动使用时,会出现的一些问题总结和解决办法
- ubuntu 16.04 的64位 安装arm-none-linux-gnueabi-gcc的步骤和问题解决
- 在linux系统中安装mysql服务器详细步骤并解决ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using passw
- linux(centOS6) 安装Mysql 5.6.19数据库步骤、 问题以及相应的解决办法
- kali4.9 64位系统2017版本安装w3af详细步骤以及遇到的问题解决方法
- linux安装java的步骤以及问题解决
- ubuntu 16.04 的64位 安装arm-none-linux-gnueabi-gcc的步骤和问题解决
- 个人总结禅道 linux环境下安装数据库详细步骤
- 在Linux中Oracle安装成功后,首次启动使用时,会出现的一些问题总结和解决办法
- Oracle11gR2 RAC for Linux安装上篇:VirtualBox + Grid Infrastructure + ASM 两节点安装 简要步骤及安装问题总结
- Linux系统安装NoSQL(MongoDB和Redis)步骤及问题解决办法
- Linux 使用rpm方式安装最新mysql(5.7.16)步骤以及常见问题解决
- Linux 下 MPlayer 软件安装 解决播放 AVI 等媒体的问题
- 在Linux中Oracle安装成功后,首次启动使用时,会出现的一些问题总结和解决办法