Enable Ubuntu Universe and Multiverse Repositories (GUI and Terminal)

Enable the Universe and Multiverse software repositories on Ubuntu to access additional community‑maintained and restricted packages. This guide shows the GUI method and the terminal commands, plus how to refresh and verify repository status.

What the video covers

Enable Universe and Multiverse repository components on an Ubuntu system using the desktop GUI or terminal, refresh package information, and verify repositories are active.

Watch the video on YouTube

Step-by-step instructions

  1. Enable using the GUI
    Open Software & Updates (or Software Sources). On the Ubuntu Software tab, locate the section for downloadable software and check the boxes for 'universe' (community‑maintained) and 'multiverse' (restricted). Close the dialog and, when prompted, allow the system to reload package information.
  2. Enable using the terminal
    Open a terminal and run: sudo add-apt-repository universe and then sudo add-apt-repository multiverse. These commands add the respective repository entries for your current Ubuntu release.
  3. Refresh package lists
    After enabling repositories (GUI or terminal), run: sudo apt update. This downloads package indexes including newly enabled components.
  4. Verify repositories are enabled
    List active deb lines to confirm presence of universe and multiverse entries: grep -R ^deb /etc/apt/sources.list /etc/apt/sources.list.d/ . Look for lines that include 'universe' or 'multiverse' for your Ubuntu release.
  5. Test by installing a package
    Install a package known to live in Universe or Multiverse to confirm functionality, for example: sudo apt install package-name. If installation succeeds, the repositories are active.

Watch the video

Video thumbnail for Enable Ubuntu Universe and Multiverse Repositories (GUI and Terminal) Play tutorial

Watch on YouTube

Why it matters

Universe contains community‑maintained open-source packages not included in the main archive. Multiverse contains packages with licensing or legal restrictions. Enabling them lets you install a broader set of software, drivers, and libraries.

Check your result

You can check success by running apt update without errors and installing a package that requires Universe or Multiverse. You can also list active repository lines in the system sources files.

Troubleshooting

If apt update fails after enabling repositories, check your network connection and any proxy settings. Make sure your /etc/apt/sources.list and files under /etc/apt/sources.list.d/ contain deb lines for your Ubuntu release. If add-apt-repository is not found, install software-properties-common, then retry: sudo apt install software-properties-common.