打开
vi /etc/yum.repos.d/dag.repo
增加如下:
[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1
yum install ffmpeg ffmpeg-devel mencoder mplayer flvtool2 lame ffmpeg-php
如果安装过程中出现如下错误
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Public key for faac-1.26-1.el5.rf.x86_64.rpm is not installed
解决方案
增加DAG’s GPG key.运行如下命令
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
查看Yum安装完成后的ffmpeg包目录,运行如下命令
rpm -ql ffmpeg | cat -n
vi /etc/yum.repos.d/dag.repo
增加如下:
[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1
yum install ffmpeg ffmpeg-devel mencoder mplayer flvtool2 lame ffmpeg-php
如果安装过程中出现如下错误
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Public key for faac-1.26-1.el5.rf.x86_64.rpm is not installed
解决方案
增加DAG’s GPG key.运行如下命令
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
查看Yum安装完成后的ffmpeg包目录,运行如下命令
rpm -ql ffmpeg | cat -n