failure to install ubuntu-restricted extras [duplicate]

I opened the terminal put in: sudo apt install ubuntu-restricted-extras run it but the packet was not find. I wanted to use this command to be able to watch .mpeg files.

I am using Ubuntu 21.04 LTS


Solution 1:

Please try:

sudo add-apt-repository multiverse
sudo apt update
sudo apt install ubuntu-restricted-extras

You should be all set.