jump to navigation

How To Get Ubuntu To Play WMV Files May 13, 2009

Posted by ModelR in Everything LINUX.
Tags: , ,

This was taken from a guide located here

Note: The version we are installing for is Jaunty (Ubuntu 9.04)

  1. Install mplayer using Synaptic Package Manager or the command sudo apt-get install mplayer
  2. Then type the command sudo wget http://www.medibuntu.org/sources.list.d/jaunty.list --output-document=/etc/apt/sources.list.d/medibuntu.list
  3. Then add the GPG Key using these commands:sudo apt-get install medibuntu-keyring then sudo apt-get update
  4. If your running i386 enter this command sudo apt-get install w32codecs libdvdcss2 if your on amd64 enter this command sudo apt-get install w64codecs libdvdcss2
  5. Install the mplayer plugin for Firefox sudo apt-get install mozilla-mplayer
  6. If you like you can also install the smplayer front end for mplayer sudo apt-get install smplayer

That should get the player working on your system.  These codecs are not installed by default due to legal restrictions.



1. arif - June 1, 2009

I’ve searched elsewhere, can’t find any useful solution. Thanks a lot!

ModelR - June 1, 2009

Glad to help!

2. Paulo - November 27, 2009

Thanks for these tips. everything worked perfectly well.

3. p.chowdhuri - January 14, 2010


We could not install mplayer or mozila-mplayer when we follow the process of installation mplayer mozila-player an error occuring this time that E: couldn’t not find package mesibuntu-keyring…

some body help me…..

ModelR - January 18, 2010

Did you follow the step that says:
sudo apt-get install medibuntu-keyring
That should install the package medibuntu-keyring

4. Michael Irwin - February 1, 2010

Problem with

sudo wget http://www.medibuntu.org/sources.list.d/jaunty.list


Are these all one line ?

ModelR - February 1, 2010

Yes it should be all one line
sudo wget http://www.medibuntu.org/sources.list.d/jaunty.list –output-document=/etc/apt/sources.list.d/medibuntu.list

5. artpablico - February 2, 2010

Thanks it worked by installing MPlayer.

6. Louis - March 9, 2010


I have this when trying the sudo wget on one line :
wget: unable to resolve host address `–output-document=’

Tried ssome other ways but no luck…

ModelR - March 9, 2010

The formatting of this webpage makes the command look misleading. Try typing the entire command in step two on one line with spaces in between.

7. will.v.king - March 28, 2010

can’t find package in step 3 and also step 4….

ModelR - March 30, 2010

make sure you have performed step #2 correctly.

8. k.simpson - April 23, 2010

Steps 1-4 were successful but have this error when attempting step 5.

E: Couldn’t find package mozilla-mplayer

ModelR - April 23, 2010

Not sure if they have changed the package name. Have you installed the keyring and such?

9. Chris - May 3, 2010

Folks having trouble should go to https://help.ubuntu.com/community/Medibuntu and follow their instructions for Adding the Repository in place of steps 1-3.

10. austin - May 5, 2010

just install it from Software Center

11. uki - August 26, 2010

thx a lot, videos work well with smplayer…thx 🙂

12. Getting MS stuff to work on Ubuntu « Paul's Network Blog - September 2, 2010

[…] Here is a blog post on getting WMV files to play in Ubuntu https://modelr.wordpress.com/2009/05/13/how-to-get-ubuntu-to-play-wmv-files/ […]

13. awik1212 - November 12, 2010

thansk for tutor.
have a great time!

14. Dino - November 12, 2010

mozilla-mplayer is now gnome-mplayer.

15. Clyde Doris - March 9, 2011

i had no luck at first because i thought http://www.medibuntu.org/sources.list.d/jaunty.list –output-document=/etc/apt/sources.list.d/medibuntu.list
is not in one line

i tried software center, and t worked well for me

16. PaulMtNL - March 25, 2011

Ref comment nr 4: I issued all commands as listed above. The environment command did not work because a “tack”(-) is not allowed and ends in a bash error saying: file not found/does not exist, while it existed in my Ubuntu 10.04 LTS install. When the tack is replaced by an “underscore”(_) then it works, e.g.:
“export output_document=/etc/apt/sources.list.d/medibuntu.list

17. manu - June 12, 2011

you can try this worked for me in ubuntu 10.10
go to
download all all-20071007.tar.bz2
then extract it.
then go to terminal and type
sudo mkdir /usr/lib/codecs
and then copy all contents of all-20071007 to /usr/lib/codecs/ (only copying wmsdmod.dll will also do)
sudo cp ‘path to all-20071007’/* /usr/lib/codecs/

then play it using mplayer(or smplayer). It will work.

18. zanetworker - September 6, 2011

This command will do the thing for you =):

“sudo wget –output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get –quiet update && sudo apt-get –yes –quiet –allow-unauthenticated install medibuntu-keyring && sudo apt-get –quiet update”

19. Adl - August 21, 2012

Jaunty is no longer supported…
So in the second command, you can replace jaunty with your specific version.
Lucid (10.04)
Natty (11.04)
Oneiric (11.10)
Precise (12.04)

Command to find version :
sudo cat /etc/issue

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: