Thursday, December 11, 2014

Install mencoder on CentOS 7.0

Install mencoder on CentOS 7.0 X86_64

If you have tried to install mencoder on CentOS and you have faced dependency errors as well as broken package error, here is the solution for you.

Run these commands on your terminal.
wget https://sites.google.com/site/linuxamination/netembryo-0.1.1-4.fc19.x86_64.rpm

wget https://sites.google.com/site/linuxamination/lirc-libs-0.9.0-11.fc19.x86_64.rpm

wget https://sites.google.com/site/linuxamination/esound-libs-0.2.41-8.fc19.x86_64.rpm

wget https://sites.google.com/site/linuxamination/nas-libs-1.9.3-6.fc19.x86_64.rpm

wget https://sites.google.com/site/linuxamination/libnemesi-0.7.0-0.4.20110215git.fc19.x86_64.rpm

https://sites.google.com/site/linuxamination/dirac-libs-1.0.2-10.fc19.x86_64.rpm

wget https://sites.google.com/site/linuxamination/schroedinger-1.0.11-4.fc19.x86_64.rpm

wget https://sites.google.com/site/linuxamination/svgalib-1.9.25-12.fc19.x86_64.rpm

wget https://sites.google.com/site/linuxamination/arts-1.5.10-22.fc19.x86_64.rpm
These are the required packages which you need to download and install.

Now check if all packages are downloaded. Run this command.
ls -1 *rpm
Now install all packages using following command.
yum localinstall *rpm
Now you can install mencoder on your system. You will not get dependencies error.
yum install mplayer

Install ffmpeg on CentOS 7

Install ffmpeg on CentOS 7.0 X86_64

If you have tried to install ffmpeg on CentOS 7.0, you are not able to install it.
It shows message, "No package ffmpeg found."
It doesn't mean, you can not install this package on your CentOS 7.0.
Here is the solution for you.

Run following command on terminal to download the package.
wget ftp://rpmfind.net/linux/centos/6.5/os/x86_64/Packages/libdc1394-2.1.2-3.4.el6.x86_64.rpm
Now install this downloaded package
yum -y localinstall libdc1394-2.1.2-3.4.el6.x86_64.rpm
Now you need to install the repo atrpms
rpm -ivh http://dl.atrpms.net/el7-x86_64/atrpms/stable/atrpms-repo-7-7.el7.x86_64.rpm
Now install ffmpeg, it will not show the message "No package found."
yum -y install ffmpeg
I hope, it will work for you.

Friday, November 7, 2014

/usr/lib/apache2/modules/libphp5.so: cannot open shared object file

If you facing this error on your ubuntu system while operating apache2, here is solution for you.

Install following package on your ubuntu system.
sudo apt-get install libapache2-mod-php5
Now try again.