Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How do I get to Universe Repository of Ubuntu software as mentioned in Ubuntu 12.04 LTS? I am installing 12.04 Ubuntu. Please help.

share|improve this question
Do you want to enable the universe and multiverse repositories in Ubuntu? –  Mitch Jun 9 '12 at 16:57

4 Answers 4

If you want in one command and not use Software source ticking then in terminal put

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"

To enable all ubuntu software (main universe restricted multiverse) repositories use

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse"

you can add also partner repository with different link (see difference is ubuntu to canonical)

sudo add-apt-repository "deb http://archive.canonical.com/ubuntu $(lsb_release -sc) partner"

Then update the package list:

sudo apt-get update


$(lsb_release -sc) makes checking your Ubuntu version and putting its name in link. Since 12.04 is called precise then you can test in terminal lsb_release -sc gives word precise Thats makes added repository link precise name of your ubuntu Release in Software sources. Wrong word and noting will work.

for all differences in repositories read https://help.ubuntu.com/community/Repositories/Ubuntu

share|improve this answer
Just a note that you may have to run sudo apt-get update before you can install the package you wanted. –  ty01 Nov 21 '13 at 19:17

First, open software center. Click on 'edit' and then 'software sources' to open the software sources window. Once that is open, check the box that says, "Community-maintained free and open-source software (universe)."

enter image description here

Now, all the universe packages should show up in software center just like all the other ones.

More information:

share|improve this answer

Open dash and type Software sources

type <code>software sources</code> in Dash

then open software sources and click on the the universe repository .

select "Community maintained Open Source Software (universe)"

Close and reload cache

reload cache

share|improve this answer

Command Line Way of enabling Ubuntu software Repositories For 12.10 and above:

To enable main repository,

sudo add-apt-repository main

To enable universe repository,

sudo add-apt-repository universe

To enable multiverse repository,

sudo add-apt-repository multiverse

To enable restricted repository,

sudo add-apt-repository restricted


After enabling the repositories, don't forget to update it.Run the below command to update the repositories,

sudo apt-get update
share|improve this answer

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.