• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer
WebSetNet

WebSetNet

Technology News

  • Technology News
    • Mobile
    • Games
  • Internet Marketing
  • System Admin
    • Windows 11
    • Linux
    • Mac & Apple
    • Website Scripts
      • Wordpress
You are here: Home / System Admin / Linux / Install All Essential Media Codecs in Ubuntu With This Single Command [Beginner’s Tip]

Install All Essential Media Codecs in Ubuntu With This Single Command [Beginner’s Tip]

August 5, 2020 by Martin6

If you have just installed Ubuntu or some other Ubuntu flavors like Kubuntu, Lubuntu etc, you’ll notice that your system doesn’t play some audio or video file.

For video files, you can install VLC on Ubuntu. VLC one of the best video players for Linux and can play almost any video file format. But you’ll still have troubles with audio media files and flash player.

The good thing is that Ubuntu provides a single package to install all the essential media codecs: ubuntu-restricted-extras.

Media Codecs In UbuntuMedia Codecs In Ubuntu

What is Ubuntu Restricted Extras?

The ubuntu-restricted-extras is a software package that consists various essential software like flash plugin, unrar, gstreamer, mp4, codecs for Chromium browser in Ubuntu etc.

Since these software are not open source and some of them involve software patents, Ubuntu doesn’t install them by default. You’ll have to use multiverse repository, the software repository specifically created by Ubuntu to provide non-open source software to its users.

Please read this article to learn more about various Ubuntu repositories.

How to install Ubuntu Restricted Extras?

I find it surprising that the software center doesn’t list Ubuntu Restricted Extras. In any case, you can install the package using command line and it’s very simple.

Open a terminal by searching for it in the menu or using the terminal keyboard shortcut Ctrl+Alt+T.

Since ubuntu-restrcited-extras package is available in the multiverse repository, you should verify that the multiverse repository is enabled on your system:

sudo add-apt-repository multiverse

And then you can install it in Ubuntu default edition using this command:

sudo apt install ubuntu-restricted-extras

When you enter the command, you’ll be asked to enter your password. When you type the password, nothing is displayed on the screen. That’s normal. Type your password and press enter.

It will show a huge list of packages to be installed. Press enter to confirm your selection when it asks.

You’ll also encounter an EULA (End User License Agreement) screen like this:

Installing Ubuntu Restricted ExtrasInstalling Ubuntu Restricted Extras
Press Tab key to select OK and press Enter key

It could be overwhelming to navigate this screen but don’t worry. Just press tab and it will highlight the options. When the correct options are highlighted, press enter to confirm your selection.

installing_ubuntu_restricted_extras_1-4164087installing_ubuntu_restricted_extras_1-4164087
Press Tab key to highlight Yes and press Enter key

Once the process finishes, you should be able to play MP3 and other media formats thanks to newly installed media codecs.

Installing restricted extra package on Kubuntu, Lubuntu, Xubuntu

Do keep in mind that Kubuntu, Lubuntu and Xubuntu has this package available with their own respective names. They should have just used the same name but they don’t unfortunately.

On Kubuntu, use this command:

sudo apt install kubuntu-restricted-extras

On Lubuntu, use:

sudo apt install lubuntu-restricted-extras

On Xubuntu, you should use:

sudo apt install xubuntu-restricted-extras

I always recommend getting ubuntu-restricted-extras as one of the essential things to do after installing Ubuntu. It’s good to have a single command to install multiple codecs in Ubuntu.

I hope you like this quick tip in the Ubuntu beginner series. I’ll share more such tips in the future.

Related posts:

  1. Ubuntu 17.04 "Zesty Zapus" All Flavors Download Links
  2. List of PPA Repositories for Ubuntu 17.04 Zesty Zapus
  3. Lubuntu 17.04 Review, The Lightweight and Complete Desktop OS
  4. Install Xfce Desktop on Ubuntu and Turn it Into Xubuntu
  5. Things to do After Installing Ubuntu 18.04
  6. GNU/Linux Review: Xubuntu 17.04 Zesty Zapus
  7. Xubuntu 17.04 Zesty Zorro - Vigorous
  8. GNU/Linux Review: Kubuntu 17.04 Zesty Zapus
  9. Using PPA in Ubuntu Linux [Complete Guide]
  10. Quick Look at Kubuntu Artful Pre-Release

Filed Under: Linux Tagged With: essential, install, media, Ubuntu, with

Primary Sidebar

Popular posts

  • 5 Ways to Fix “Your SIM sent a Text Message” Issue on iPhone
  • 3 Ways to Disable GetApps on Xiaomi, Redmi, and Poco Phones Running MIUI
  • GeForce Experience not finding games? Fix it fast
  • How To Extract & Install tar.gz Files In Ubuntu
  • How to Highlight Duplicates in Google Sheets
  • Discord Stream Has No Sound? 6 Ways to Fix
  • How to check if your Android device supports Widevine DRM
  • Exclamation Mark on Network Signal, Mobile Data Not Working? 8 Ways to Fix
  • How to find a lost Apple Pencil using your iPad (1st and 2nd gen)
  • 8 Best Sites to Read Manga Online for Free
  • 3 Ways to Hide Tabs in Google Chrome
  • How to Fix YouTube Server Connection Error [400] on Android
  • How to Track a Stolen or Lost Nintendo Switch
  • How To Search On Google Using Image or Video
  • How To Calculate CAGR in Excel
  • Microsoft Edge's newest feature? Shopping in Microsoft Edge
  • How to Change the Last Modified Date, Creation Date, and Last Accessed Date for Files and Folders

Footer

Tags

Amazon android Apple Asus available download: edge feature features first free from galaxy Game games gaming gets google install Intel iPhone launches linux Microsoft more OnePlus phone release released review: samsung series support this Ubuntu update using video watch what will windows with xbox your

Archives

  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org