La gaceta de la cabeza

Installing Ubuntu codecs (restricted formats)

April 29, 2008

Every time I install ubuntu on a new machine for my parents, friends, cousins, etc. I stumble against the same problem after a couple of days… They couldn’t play an mp3, or watch a movie, or enjoy a video on youtube.

Today I found a short answer on the page:

$ sudo apt-get install ubuntu-restricted-extras

This command will install several codecs that could be installed separately. The description from ubuntu reads:

This package depends on some commonly used packages in the Ubuntu multiverse repository.

Installing this package will pull in support for MP3 playback and decoding, support for various other audio formats (gstreamer plugins), Microsoft fonts, Java runtime environment, Flash plugin, LAME (to create compressed audio files), and DVD playback.

Please note that packages from multiverse are restricted by copyright or legal issues in some countries. See for more information

This solution is for ubuntu 8.04, 7.10, and maybe also 7.04. The page where I got this is:


Joaquín Bravo Contreras

Joaquín Bravo Contreras es un desarrollador mexicano. Juega futbol cada que puede. Le gusta andar en bici y leer (cuando sus hijos lo dejan). Todavía cree en la buena voluntad de las personas.