LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I came this far with Installing MPlayer from source (https://www.linuxquestions.org/questions/linux-newbie-8/i-came-this-far-with-installing-mplayer-from-source-245965/)

ur-unholyness 10-22-2004 10:27 AM

I came this far with Installing MPlayer from source
 
Still dead still talking!

As someone suggested to read the article for installing proggies from source at this sites tutorials, I did so and found that it was for gz files and I downloaded the bz2, but one thing I did follow here was moving the source file to the /usr/local/src directory.

I managed to find an article to help me out in installing MPlayer from source (bz2 which I moved to the above dir) and this is what I read and did exactly, but I am still unable to find where it got installed and I have no clue how to use it. Can anyone guide me here?

* Installation and Uninstallation Using Source

Steps for installation:
1) Source Code always come in .tar.gz or .tar.bz2 format. First unpak the source code. If you want to install mplayer using source code, unpack it as

# tar -jxvf MPlayer-1.0pre5.tar.bz2

2) Now change the dirctory to Source Code. i.e.

# cd MPlayer-1.0pre5

3) Now you must see a file name "configure" in that directory (type ls to see that). If this file is absent, that means it is not the source code. If the file is there, type

# ./configure

This will check your system configuration. If it fails, see the error (which is mostly due to some dependency) , first install the dependency and then try again. This command "configure" will make the file named "Makefile".

4) Type

# make

This will compile the package.

5) Type

# make install

This will install the package.

6) You can delete the source code now.

acid_kewpie 10-22-2004 10:39 AM

it doesn't matter where it was installed. just run it. open a terminal and run "mplayer" along with all your options. the binary itself is probably in /usr/bin/ but wherever it is, it will be on your system path, so you don't need to know.

please keep one problme to one thread in future. this really should have been kept in the thread i replied to earlier...

acid_kewpie 10-22-2004 10:40 AM

and as i did say in the other thread, those commands above are 100% generic, other than the applciation name. they will work for any app you download in that format.


All times are GMT -5. The time now is 02:25 PM.