Note: This is not a sane way to install mplayer as it is available from the Ubuntu repositories. See the [[UbuntuHelp:MPlayer| MPlayer wiki page]] instead.
Sometimes compiling a package on your machine can improve the way it operates. A binary compiled on your computer with your libraries will be a better fit than a binary compiled on somebody else's machine. This is a classic "configure, make, make install" compilation. See this wiki page if you need help.
This requires the GTK development libraries found in the Ubuntu package libgtk1.2-dev. You will also need libpng3 and libpng3-dev packages. If you want to use the GUI you'll also need some skins which can be found on the MPlayer download page. To use the On-Screen Display, you need some OSD fonts from they can also be found there. In case you require bidirectional text support, pass
This requires the fribidi library from the libfribidi0 Ubuntu package.
I didn't need any other packages, but if you do please add to this page.
Then just run:
make sudo make install
- Using CheckInstall (Optional)
If you have CheckInstall on your machine, run
The CheckInstall program will keep track of where files were installed, and meshes with the Debian Synaptic/Apt-get system.
Done! Ahh.. DVD, MP3, DivX playback all in one.