How do I enable the "Universe" repository?
How do I get to the Universe Repository in supported versions of Ubuntu?
24 Answers
If you want in one command and not use Software source ticking then in terminal put:
sudo add-apt-repository universeOn older versions of Ubuntu, you might have to use a full source line:
sudo add-apt-repository "deb $(lsb_release -sc) universe"To enable all Ubuntu software (main universe restricted multiverse) repositories use
sudo add-apt-repository "deb $(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 $(lsb_release -sc) partner"Then update the package list:
sudo apt-get updatep.s.
$(lsb_release -sc) checks your Ubuntu version and puts its name in the source link. Since 12.04 is called precise, you can test in a terminal that lsb_release -sc gives precise. That adds the precise name of your Ubuntu release in Software sources. Wrong word and nothing will work.
For all differences in repositories read
2First, 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)."
Now, all the universe packages should show up in software center just like all the other ones.
More information:
1Command Line Way of enabling Ubuntu software Repositories For 12.10 and above:
To enable main repository,
sudo add-apt-repository mainTo enable universe repository,
sudo add-apt-repository universeTo enable multiverse repository,
sudo add-apt-repository multiverseTo enable restricted repository,
sudo add-apt-repository restrictedNOTE:
After enabling the repositories, don't forget to update it.Run the below command to update the repositories,
sudo apt-get update 4 Open dash and type Software sources
then open software sources and click on the the universe repository .
Close and reload cache