How to install common multimedia codecs in Ubuntu

Submitted by str on Thu, 05/08/2008 - 11:08

Sometimes you you want to play some music or video but it doesn't allow you because it asked for some strange codecs that you may not understand :)

Good news is, it relatively easy to download most of them all together.

Here's how:

Switch to super user
sudo -s -H

Update and upgrade your present system by using these two separate commands
apt-get update

apt-get upgrade

Here's now the magic; install the following common codecs
apt-get install gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly gstreamer0.10-ffmpeg libxine1-ffmpeg libdvdread3