Showing posts with label centos. Show all posts
Showing posts with label centos. Show all posts
July 05, 2012
How to install ffmpeg on a CentOS VPS
FFMPEG installation can be tricky sometimes. Here I'm sharing, for self reference in future, a simple procedure to easily install ffmpeg and all related dependencies, libraries on any VPS running CentOS. Hopefully this will help a few clueless VPS admins. :P
Establish an SSH connection to the VPS as root in order to run these commands.
yum install ffmpeg ffmpeg-devel
cd /etc/yum.repos.d
nano dag.repo
Paste this into dag.repo file and save
[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
Finally run:
yum install ffmpeg ffmpeg-devel
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
Again run:
yum install ffmpeg ffmpeg-devel
Read More
Establish an SSH connection to the VPS as root in order to run these commands.
yum install ffmpeg ffmpeg-devel
If you get a package not found error:
cd /etc/yum.repos.d
nano dag.repo
Paste this into dag.repo file and save
[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
Finally run:
yum install ffmpeg ffmpeg-devel
If you get a key warning:
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
Again run:
yum install ffmpeg ffmpeg-devel
Subscribe to:
Posts (Atom)