Ubuntu does not automatically install certain media codec during installation due to licensing reason. You can install these codecs during Ubuntu installation by ticking the checkbox to install additional packages.

These media codecs however are available in Ubuntu's apt repository and can easily be installed from the command line. Ubuntu also make it easier to install them all by packaging the media codecs in a meta package named ubuntu-restricted-extra.

  1. Launch a terminal application.
  2. Update apt's package application list from repository.
    $ sudo apt update
  3. Install ubuntu-restricted-extra package using apt.
    $ sudo apt install --assume-yes ubuntu-restricted-extra
  4. Relaunch your application to start using the newly installed codec.

Guide compatibility:

Operating System
Ubuntu 16.04 LTS (Xenial Xerus)
Ubuntu 16.10 (Yakkety Yak)
Ubuntu 17.04 (Zesty Zapus)
Ubuntu 17.10 (Artful Aardvark)
Ubuntu 18.04 LTS (Bionic Beaver)
Ubuntu 18.10 (Cosmic Cuttlefish)
Ubuntu 19.04 (Disco Dingo)
Discuss the article:

Share your thoughts, suggest corrections or just say Hi. Login not required.

Share!