In this tutorial you will learn how to enable or disable Universe, Multiverse and Restricted repository on Ubuntu 20.04 LTS Focal Fossa Linux Desktop or Server.

In this tutorial you will learn:
  • How to enable Universe, Multiverse and Restricted
  • How to disable Universe, Multiverse and Restricted
  • How to check for enabled repositories
Enabled  Universe,Multiverse and Restricted repository on Ubuntu 20.04 LTS Focal Fossa
Enabled Universe, Multiverse and Restricted repository on Ubuntu 20.04 LTS Focal Fossa

Software Requirements and Conventions Used

Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Installed Ubuntu 20.04 or upgraded Ubuntu 20.04 Focal Fossa
Software N/A
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ - requires given linux commands to be executed as a regular non-privileged user

Enable Universe, Multiverse and Restricted repository on Ubuntu 20.04 step by step instructions

Enable repositories from command line

  1. The easiest way to enable Ubuntu Universe, Multiverse and Restricted repositories is to use the add-apt-repository command. The following commands will enable all repositories:
    $ sudo add-apt-repository universe
    $ sudo add-apt-repository multiverse
    $ sudo add-apt-repository restricted
    
  2. Check for enabled repositories:
    $ grep ^deb /etc/apt/sources.list
    
  3. To disable the repository enter:
    $ sudo add-apt-repository --remove universe
    $ sudo add-apt-repository --remove multiverse
    $ sudo add-apt-repository --remove restricted
    

SUBSCRIBE TO NEWSLETTER
Subscribe to Linux Career NEWSLETTER and receive latest Linux news, jobs, career advice and tutorials.


Enable repositories from GUI GNOME desktop



  1. start software and updates
    Use Activities menu and search for software. Click on Software & Updates icon.


  2. Tick any desired repository to enable it
    Tick any desired repository to enable it and hit Close button.
FIND LATEST LINUX JOBS on LinuxCareers.com
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in:



Comments and Discussions