LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mplayer dependencies (https://www.linuxquestions.org/questions/linux-software-2/mplayer-dependencies-507352/)

mahdif 12-04-2006 07:31 AM

mplayer dependencies
 
I use slackware 10.2 and i want to install mplayer. Is there a way to find and install all mplayer dependencies in one package? If i install from the source does it make a difference?

tronayne 12-04-2006 03:18 PM

You can build it yourself from source like this.

You need to download essential-20061022.tar.bz2 and MPlayer-1.0rc1.tar.bz2 files from the MPlayer site (read the instructions on the site for more information).

The content of essential-20061022.tar.bz2 goes in /usr/local/lib, then make a symbolic link from essential-20061022 to codecs in that directory:
Code:

cd /usr/local/lib
bunzip2 -c ${PATH-TO_FILE}/essential-20061022.tar.bz2 | tar -xvf -
ln -s essential-20061022 codecs

The content of MPlayer-1.0rc1.tar.bz2 goes in /usr/local/src.

Then
Code:

bunizp2 -c ${PATH-TO-FILE}/MPlayer-1.0rc1.tar.bz2 | tar -xvf -

cd MPlayer-1.0rc1
configure
make
make install

That will install MPlayer in the /usr/local tree. If you want it somewhere else, use the --prefix= argument to configure.

mahdif 12-05-2006 04:46 AM

Dear tronayne
Thanx a million! I did it and mplayer is now working!

tronayne 12-05-2006 06:59 AM

Glad to know that -- enjoy!


All times are GMT -5. The time now is 08:17 PM.