$(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.
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)."
Now, all the universe packages should show up in software center just like all the other ones.
If you want in one command and not use Software source ticking then in terminal put:
On older versions of Ubuntu, you might have to use a full source line:
To enable all Ubuntu software (
main universe restricted multiverse
) repositories useyou can add also
partner
repository with different link (see difference is ubuntu to canonical)Then update the package list:
p.s.
$(lsb_release -sc)
checks your Ubuntu version and puts its name in the source link. Since 12.04 is calledprecise
, you can test in a terminal thatlsb_release -sc
givesprecise
. That adds the precise name of your Ubuntu release in Software sources. Wrong word and nothing will work.For all differences in repositories read https://help.ubuntu.com/community/Repositories/Ubuntu
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)."
Now, all the universe packages should show up in software center just like all the other ones.
More information:
Command Line Way of enabling Ubuntu software Repositories For 12.10 and above:
To enable main repository,
To enable universe repository,
To enable multiverse repository,
To enable restricted repository,
NOTE:
After enabling the repositories, don't forget to update it.Run the below command to update the repositories,
Open dash and type
Software sources
then open software sources and click on the the universe repository .
Close and reload cache