centos 6.X upgrade ffmpeg package details

  • 2020-05-12 06:43:50
  • OfStack

preface

ffmpeg is an important application for running video websites that convert video files into different video streaming formats and can be installed on the linux system. This paper mainly records the steps of upgrading the ffmpeg package in centos 6.X. Because it is difficult to find, it is simply recorded here for reference if necessary.

Implementation method


[root@vultrvpn yum.repos.d]# ll
 The total amount  36
-rw-r--r--. 1 root root 1991 8 month   3 2015 CentOS-Base.repo
-rw-r--r--. 1 root root 647 8 month   3 2015 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root 289 8 month   3 2015 CentOS-fasttrack.repo
-rw-r--r--. 1 root root 630 8 month   3 2015 CentOS-Media.repo
-rw-r--r--. 1 root root 6259 8 month   3 2015 CentOS-Vault.repo
-rw-r--r-- 1 root root 143 5 month   2 07:14 dag.repo
-rw-r--r-- 1 root root 957 11 month  5 2012 epel.repo
-rw-r--r-- 1 root root 1056 11 month  5 2012 epel-testing.repo
[root@vultrvpn yum.repos.d]# rpm -ihv http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm
Retrieving http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm
warning: /var/tmp/rpm-tmp.cdwmcw: Header V3 RSA/SHA256 Signature, key ID 849c449f: NOKEY
Preparing...        ########################################### [100%]
  1:rpmfusion-free-release ########################################### [100%]
[root@vultrvpn yum.repos.d]# ll
 The total amount  44
-rw-r--r--. 1 root root 1991 8 month   3 2015 CentOS-Base.repo
-rw-r--r--. 1 root root 647 8 month   3 2015 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root 289 8 month   3 2015 CentOS-fasttrack.repo
-rw-r--r--. 1 root root 630 8 month   3 2015 CentOS-Media.repo
-rw-r--r--. 1 root root 6259 8 month   3 2015 CentOS-Vault.repo
-rw-r--r-- 1 root root 143 5 month   2 07:14 dag.repo
-rw-r--r-- 1 root root 957 11 month  5 2012 epel.repo
-rw-r--r-- 1 root root 1056 11 month  5 2012 epel-testing.repo
-rw-r--r-- 1 root root 1002 5 month  14 2011 rpmfusion-free-updates.repo
-rw-r--r-- 1 root root 1062 6 month  19 2012 rpmfusion-free-updates-testing.repo

Then uninstall the original and install, otherwise an error will be reported


[root@vultrvpn yum.repos.d]# yum remove ffmpeg
 Loaded plug-in: fastestmirror
 Set the remove process 
 Resolve dependencies 
-->  Perform transaction checks 
---> Package ffmpeg.x86_64 0:0.6.5-1.el6.rf will be  delete 
-->  Handling dependencies  libavutil.so.50()(64bit) , it is packaged  ffmpeg-libpostproc-0.6.5-1.el6.rf.x86_64  Need to be 
-->  Handling dependencies  libavutil.so.50(LIBAVUTIL_50)(64bit) , it is packaged  ffmpeg-libpostproc-0.6.5-1.el6.rf.x86_64  Need to be 
-->  Perform transaction checks 
---> Package ffmpeg-libpostproc.x86_64 0:0.6.5-1.el6.rf will be  delete 
-->  Complete the dependency calculation 

[root@vultrvpn yum.repos.d]# yum install ffmpeg
 Loaded plug-in: fastestmirror
 Set up the installation process 
Loading mirror speeds from cached hostfile
 * base: mirror.amsiohosting.net
 * epel: ftp.iij.ad.jp
 * extras: mirror.cj2.nl
 * rpmfusion-free-updates: mirrors.ustc.edu.cn
 * updates: mirror.cj2.nl
 Resolve dependencies 

conclusion

The above is the whole content of this article, I hope the content of this article to your study or work can bring 1 definite help, if you have questions you can leave a message to communicate.


Related articles: