Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I keep seeing places refer to the "multiverse" repository as a place I can get software, how can I enable this repository? Please specify how to do this graphically and via command line.

share|improve this question
up vote 29 down vote accepted

The Multiverse repository contains packages (software) that is "not free" , referring to licensing restrictions.

The Multiverse repository contains software which has been classified as non-free. This software may not be permitted in some jurisdictions. When installing each package from this repository, you should verify that the laws of your country permit you to use it. Also, this software may not include security updates.

For additional information on the philosophy of the ubuntu repositories, see Overview of the default Ubuntu software repositories

You can enable the repository from the command line or graphically.


Open Software center, navigate to the "Ubuntu software" tab at the top, select (check off) multiverse.

Software Center

Use the "Reload" button to update your package list.


Command line

Open /etc/apt/sources.list with any editor.

# command line editor (nano)
sudo -e /etc/apt/sources.list

# graphical editor
gksu gedit /etc/apt/sources.list

Uncomment (remove the # from the front of) the multiverse lines or add them in if needed, so the lines look like this:

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb oneiric multiverse
#deb-src oneiric multiverse
deb oneiric-updates multiverse
#deb-src oneiric-updates multiverse

Uncomment the deb-src lines if you need to download the source code (most users will not need the source code, so if in doubt, leave them disabled).

Save your edit (if you are using nano, Ctrl+X , then type Y to save your changes) then, to update you r package list, run

sudo apt-get update
share|improve this answer
If the lines aren't present on that file, copy the existing ones from universe and replace the word 'universe' by 'multiverse' – Jan 15 '15 at 13:47
Can someone update the screenshots, please? Thanks. – minerz029 Aug 2 '15 at 10:47
@minerz029 - there are already screenshots posted. See also – bodhi.zazen Aug 2 '15 at 13:42
@bodhi.zazen - update <-. The screenshots are reflective of a outdated version of Ubuntu. I'm asking to have them updated with screenshots from a newer version. – minerz029 Aug 3 '15 at 2:06
You could use sed, to uncomment lines that end with multiverse: sudo sed -i '/^#.*multiverse$/s/^# //g' /etc/apt/sources.list – J.F. Sebastian Jan 22 at 9:51

Another option available for newer releases of Ubuntu:

sudo apt-add-repository multiverse && sudo apt-get update

From the man page:

  apt-add-repository 'deb http://myserver/path/to/repo stable myrepo'
  apt-add-repository 'http://myserver/path/to/repo myrepo'
  apt-add-repository ' free non-free'
  apt-add-repository ppa:user/repository
  apt-add-repository multiverse
share|improve this answer

From the command line without using a text editor or GUI:

sudo sed -i "/^# deb.*multiverse/ s/^# //" /etc/apt/sources.list

share|improve this answer
Excellent. And, it's idempotent. Note, however, that it's aggressive -- all deb multiverse repos will be added, even those that are for building from src. To leave those out, add a space after "deb", so we have sudo sed -i "/^# deb .* multiverse$/ s/^# //" /etc/apt/sources.list; sudo apt-get update – Rubistro Aug 10 '14 at 19:52
At least in recent versions of Ubuntu, the multiverse source lines are not present in the sources.list file, only the multiverse security repo will be enabled by this command. – Guss Jun 7 '15 at 9:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.