Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I would like to know how can I enable video and audio codecs not included by default on Ubuntu. Thanks!

share|improve this question

3 Answers 3

up vote 13 down vote accepted

Install this packageby clicking on this icon:

Install via the software center

Or via command line:

sudo apt-get install ubuntu-restricted-extras

Installing this package will allow you to play MP3 files, and to decode various audio formats such as LAME. It will also allow you to use Microsoft fonts, install the Java Runtime Environment, Adobe Flash, and play DVDs.

Additional reading: Restricted Formats, and Medibuntu.

share|improve this answer

Run the following in the terminal:

sudo apt-get install ubuntu-restricted-extras

share|improve this answer

To play encrypted DVDs, you must install libdvdread4, which is a codec allowing you to play them.

  • Run this command in a terminal:

    sudo /usr/share/doc/libdvdread4/install-css.sh

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.