Ubuntu 10.04 has released and one of the first things after a fresh installation is to install movie player and codecs.Here’s how to install mplayer media player and multimedia codecs to make it supports most media file formats.

To install Mplayer media player

Open terminal from Applications->Accessories->Terminal and type:

sudo apt-get install mplayer*

it installs the media player,common codecs and Mplayer should almost running well.

Launch the player from Applications->Sound&Vedio->Mplayer Media Player

To install w32codecs/w64codecs and libdvdcss2

To player WMV, RealMedia and encrypted DVDs w32codecs/w64codecs libdvdcss2 are essential.Those packages are not available from Ubuntu repository due to licensing and legal restrictions.

First,use following commands to add Medibuntu’s repository to Ubuntu:
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
then,use apt-get command to install them from repository:

for amd64

sudo apt-get install w64codecs libdvdcss2

for i386

sudo apt-get install w32codecs libdvdcss2

If you don’t prefer the command line,you can also download deb packages for w32codecs/w64codecs and libdvdcss2 from: