I have a problem to install FFmpeg on CentOS.
My VPS OpenVZ (JSON support) − CentOS ver 6.1.19 on Linux under Apache. Template: centos-5-x86_64-cvps-base.
My friend give me some commands to install via SSH:
But when running step 1, it's an error like this:
# yum install ffmpeg ffmpeg-devel ffmpeg-libpostporc
Loaded plugins: fastestmirror, protectbase, replace
Loading mirror speeds from cached hostfile
* addons: cosmos.cites.illinois.edu
* base: mirror.anl.gov
* extras: mirror.steadfast.net
* updates: lug.mtu.edu
0 packages excluded due to repository protections
Setting up Install Process
No package ffmpeg available.
No package ffmpeg-devel available.
No package ffmpeg-libpostporc available.
Nothing to do
I ask and he replied to do like this:
But, I still got error like this:
# nano /etc/yum.repos.d/dag.repo
-bash: nano: command not found
Then, I couldn't contact him again due to something personal life maybe...
Yeah.. Could anyone help me, please? Thank you in advance.
My VPS OpenVZ (JSON support) − CentOS ver 6.1.19 on Linux under Apache. Template: centos-5-x86_64-cvps-base.
My friend give me some commands to install via SSH:
- # yum install ffmpeg ffmpeg-devel ffmpeg-libpostporc - install FFmpeg
- # yum install php-devel php-gd - install FFmpeg-php
- # ffmpeg-php extension - Browse /ffmpeg-php at SourceForge.net - download
- # tar –xjf ffmpeg-php-0.6.0.tbz2 - extracts installations files from archive file .tbz2
- # cd ffmpeg-php-0.6.0 - enter the directory where FFmpeg-php installation files are located
- # phpize - prepare to build a PHP ext.
- # ./configure - run FFmpeg-php configuration and installation
- # make - compile FFmpeg-php source files
- # make install - install FFmpeg-php
- # yum install gcc - GCC
- # yum install gd gd-devel php-gd - GD
- # service httpd restart - Restart Apache
But when running step 1, it's an error like this:
# yum install ffmpeg ffmpeg-devel ffmpeg-libpostporc
Loaded plugins: fastestmirror, protectbase, replace
Loading mirror speeds from cached hostfile
* addons: cosmos.cites.illinois.edu
* base: mirror.anl.gov
* extras: mirror.steadfast.net
* updates: lug.mtu.edu
0 packages excluded due to repository protections
Setting up Install Process
No package ffmpeg available.
No package ffmpeg-devel available.
No package ffmpeg-libpostporc available.
Nothing to do
I ask and he replied to do like this:
Code:
nano /etc/yum.repos.d/dag.repo – creates a file called "dag.repo"
After creating the file add following information to it:
[dag]
name=DAG RPM Repository
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1
Save the file and exit the editor.
add DAG GPG key and update yum:
rpm --import [URL]http://apt.sw.be/RPM-GPG-KEY.dag.txt[/URL]
Once the key is added you must update your yum tool:
yum update
But, I still got error like this:
# nano /etc/yum.repos.d/dag.repo
-bash: nano: command not found
Then, I couldn't contact him again due to something personal life maybe...
Yeah.. Could anyone help me, please? Thank you in advance.