Ubuntu tip - get Mplayer and play everything

Feeling in the dark when it comes to WMV files, QuickTime movies, Real media files or any other popular (but proprietary) media format?

If you're running the latest version of Ubuntu, it's actually pretty easy to get yourself playing all of these formats and more with Mplayer - one of the best media players for Linux, and the Win32 codecs.

First of all, hit Alt-F2 and type in:

gksu gedit /etc/apt/sources.list

At the bottom of that file paste in the following lines (only do this if you haven't already enabled the Universe and Multiverse repositories, which you might have done if you've followed other tutorials):

deb http://archive.ubuntu.com/ubuntu edgy universe
deb-src http://archive.ubuntu.com/ubuntu edgy universe
deb http://archive.ubuntu.com/ubuntu edgy multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy multiverse

Save and close that file.

Head over to the terminal now (there's a bit to do, but it's copy and paste-able):

$ sudo apt-get update
$ sudo apt-get install mplayer mplayerplug-in
$ wget http://www1.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2
$ tar -xjvf essential-20061022.tar.bz2
$ sudo mkdir /usr/lib/win32
$ sudo mv essential-20061022/* /usr/lib/win32
$ sudo ln -s /usr/lib/win32 /usr/lib/codecs
$ rm -rf essential-20061022

When that's done, restart your browser and enjoy all that content!

Avatar for peter Peter Upfold - http://peter.upfold.org.uk/

Peter Upfold is a technology enthusiast from the UK. Peter’s interest in Linux stems back to 2003, when curiosity got the better of him and he began using SUSE 9.0. Now he runs Linux Mint 9 on the desktop, runs a CentOS-based web server from home for his personal website and dabbles in all sorts of technology things across the Windows, Mac and open source worlds.

Home » Articles »

Discussion: Ubuntu tip - get Mplayer and play everything

  1. PWH3 (guest)

    # Posted on 20 April 2007 at 10:49 AM

    Worked perfectly, thank you.

  2. Kamran Riaz Khan (guest)

    # Posted on 20 April 2007 at 12:02 PM

    Not that I disapprove of it or think of it as a morbid crime to use proprietary codecs (I use them myself); I found it somewhat amusing to see a tutorial about proprietary binary codecs on a <b>F</b>OSS blog ;-) .

  3. Peter (guest)

    # Posted on 20 April 2007 at 12:26 PM

    Here at FOSSwire we're passionate about helping people to get the most out of their free software, not about being purists.

    We often cover things which aren't free, but which enhance the experience of free stuff. Hopefully that spreads the free stuff more, if the experience is good. :) That's the idea.

Home » Articles » Ubuntu tip - get Mplayer and play everything