How do I install the ubuntu-restricted-extras package?

First, be warned that it might not be legal in some countries, because of software patents.

With that being said, here is how to install it, click here:

ubuntu-restricted-extras Install ubuntu-restricted-extras

Or you can open up a terminal and run the following command:

sudo apt-get install ubuntu-restricted-extras

Select yes, and you'll have ubuntu-restricted-extras installed and working.


I suggest to install Ubuntu Restricted Extras through Ubuntu Software Center. It will install all media codecs plus java and flash plugins.

Well I think you need to enable multiverse on Software and Updates (if you use Ubuntu 12.04, you can access software properties or something like that from Ubuntu Software Center > Edit menu)

enable multiverse

Then close the Software Center and open Software Updater (Update Manager on 12.04) to update the package lists. Alternatively you can run sudo apt-get update from Terminal.

After update got completed, open Software Center again and look for Ubuntu restricted extras to install.

Ubuntu restricted extras

If you still can’t find the package, try sudo apt-get install ubuntu-restricted-extras from a Terminal and see if it results in an error.


Just click this link to apt repository.

Or go to software centre and install Ubuntu-restricted-extras

Or use apt-get, type in terminal

sudo apt-get update && sudo apt-get install ubuntu-restricted-extras