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
Software Requirements and Conventions Used
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
- 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
- Check for enabled repositories:
$ grep ^deb /etc/apt/sources.list
- To disable the repository enter:
$ sudo add-apt-repository --remove universe $ sudo add-apt-repository --remove multiverse $ sudo add-apt-repository --remove restricted