How do I enable the “Universe” repository?











up vote
130
down vote

favorite
39












How do I get to the Universe Repository in supported versions of Ubuntu?










share|improve this question




















  • 1




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















up vote
130
down vote

favorite
39












How do I get to the Universe Repository in supported versions of Ubuntu?










share|improve this question




















  • 1




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













up vote
130
down vote

favorite
39









up vote
130
down vote

favorite
39






39





How do I get to the Universe Repository in supported versions of Ubuntu?










share|improve this question















How do I get to the Universe Repository in supported versions of Ubuntu?







software-center package-management software-sources






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 10 '17 at 23:14









Elder Geek

25.9k949123




25.9k949123










asked Jun 9 '12 at 16:40









Dr.C.Badrinathan

677285




677285








  • 1




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














  • 1




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








1




1




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




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










4 Answers
4






active

oldest

votes

















up vote
147
down vote













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





sudo add-apt-repository universe


On older versions of Ubuntu, you might have to use a full source line:



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


p.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 https://help.ubuntu.com/community/Repositories/Ubuntu






share|improve this answer



















  • 3




    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


















up vote
42
down vote













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:




  • How do I enable the "Universe" repository from the command line?






share|improve this answer























  • In my case ( on Ubuntu 16.04 LTS) This option was already checked. So i have just unchecked it and then checked it again. Click on "revert" and then software cache will update. And then i was able to install stable chrome using ubuntu software installer with stable debian page. Thanks @user69469 :)) Strang!! isn't it?
    – Yashrajsinh Jadeja
    May 29 '17 at 16:01




















up vote
27
down vote













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


NOTE:



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



















  • 3




    what's the difference between your answer and kangaroo's answer, yours seems shorter, and simpler.
    – speedox
    Jun 19 '15 at 1:31






  • 8




    Because my answer won't work for the versions below 12.10
    – Avinash Raj
    Jun 19 '15 at 5:02










  • Is there also a way to check them first? So you only enable them when they aren't enabled already... For scripting purposes.
    – user2304170
    Apr 30 '16 at 11:53


















up vote
16
down vote













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























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f148638%2fhow-do-i-enable-the-universe-repository%23new-answer', 'question_page');
    }
    );

    Post as a guest
































    4 Answers
    4






    active

    oldest

    votes








    4 Answers
    4






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    147
    down vote













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





    sudo add-apt-repository universe


    On older versions of Ubuntu, you might have to use a full source line:



    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


    p.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 https://help.ubuntu.com/community/Repositories/Ubuntu






    share|improve this answer



















    • 3




      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















    up vote
    147
    down vote













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





    sudo add-apt-repository universe


    On older versions of Ubuntu, you might have to use a full source line:



    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


    p.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 https://help.ubuntu.com/community/Repositories/Ubuntu






    share|improve this answer



















    • 3




      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













    up vote
    147
    down vote










    up vote
    147
    down vote









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





    sudo add-apt-repository universe


    On older versions of Ubuntu, you might have to use a full source line:



    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


    p.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 https://help.ubuntu.com/community/Repositories/Ubuntu






    share|improve this answer














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





    sudo add-apt-repository universe


    On older versions of Ubuntu, you might have to use a full source line:



    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


    p.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 https://help.ubuntu.com/community/Repositories/Ubuntu







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Apr 11 at 10:55









    David Foerster

    27.2k1363107




    27.2k1363107










    answered Dec 11 '12 at 3:06









    Kangarooo

    2,71932134




    2,71932134








    • 3




      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














    • 3




      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








    3




    3




    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




    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












    up vote
    42
    down vote













    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:




    • How do I enable the "Universe" repository from the command line?






    share|improve this answer























    • In my case ( on Ubuntu 16.04 LTS) This option was already checked. So i have just unchecked it and then checked it again. Click on "revert" and then software cache will update. And then i was able to install stable chrome using ubuntu software installer with stable debian page. Thanks @user69469 :)) Strang!! isn't it?
      – Yashrajsinh Jadeja
      May 29 '17 at 16:01

















    up vote
    42
    down vote













    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:




    • How do I enable the "Universe" repository from the command line?






    share|improve this answer























    • In my case ( on Ubuntu 16.04 LTS) This option was already checked. So i have just unchecked it and then checked it again. Click on "revert" and then software cache will update. And then i was able to install stable chrome using ubuntu software installer with stable debian page. Thanks @user69469 :)) Strang!! isn't it?
      – Yashrajsinh Jadeja
      May 29 '17 at 16:01















    up vote
    42
    down vote










    up vote
    42
    down vote









    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:




    • How do I enable the "Universe" repository from the command line?






    share|improve this answer














    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:




    • How do I enable the "Universe" repository from the command line?







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Apr 13 '17 at 12:23









    Community

    1




    1










    answered Jun 9 '12 at 16:57









    user69469

    44847




    44847












    • In my case ( on Ubuntu 16.04 LTS) This option was already checked. So i have just unchecked it and then checked it again. Click on "revert" and then software cache will update. And then i was able to install stable chrome using ubuntu software installer with stable debian page. Thanks @user69469 :)) Strang!! isn't it?
      – Yashrajsinh Jadeja
      May 29 '17 at 16:01




















    • In my case ( on Ubuntu 16.04 LTS) This option was already checked. So i have just unchecked it and then checked it again. Click on "revert" and then software cache will update. And then i was able to install stable chrome using ubuntu software installer with stable debian page. Thanks @user69469 :)) Strang!! isn't it?
      – Yashrajsinh Jadeja
      May 29 '17 at 16:01


















    In my case ( on Ubuntu 16.04 LTS) This option was already checked. So i have just unchecked it and then checked it again. Click on "revert" and then software cache will update. And then i was able to install stable chrome using ubuntu software installer with stable debian page. Thanks @user69469 :)) Strang!! isn't it?
    – Yashrajsinh Jadeja
    May 29 '17 at 16:01






    In my case ( on Ubuntu 16.04 LTS) This option was already checked. So i have just unchecked it and then checked it again. Click on "revert" and then software cache will update. And then i was able to install stable chrome using ubuntu software installer with stable debian page. Thanks @user69469 :)) Strang!! isn't it?
    – Yashrajsinh Jadeja
    May 29 '17 at 16:01












    up vote
    27
    down vote













    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


    NOTE:



    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



















    • 3




      what's the difference between your answer and kangaroo's answer, yours seems shorter, and simpler.
      – speedox
      Jun 19 '15 at 1:31






    • 8




      Because my answer won't work for the versions below 12.10
      – Avinash Raj
      Jun 19 '15 at 5:02










    • Is there also a way to check them first? So you only enable them when they aren't enabled already... For scripting purposes.
      – user2304170
      Apr 30 '16 at 11:53















    up vote
    27
    down vote













    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


    NOTE:



    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



















    • 3




      what's the difference between your answer and kangaroo's answer, yours seems shorter, and simpler.
      – speedox
      Jun 19 '15 at 1:31






    • 8




      Because my answer won't work for the versions below 12.10
      – Avinash Raj
      Jun 19 '15 at 5:02










    • Is there also a way to check them first? So you only enable them when they aren't enabled already... For scripting purposes.
      – user2304170
      Apr 30 '16 at 11:53













    up vote
    27
    down vote










    up vote
    27
    down vote









    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


    NOTE:



    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














    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


    NOTE:



    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














    share|improve this answer



    share|improve this answer








    edited Mar 6 '14 at 14:29

























    answered Mar 6 '14 at 14:12









    Avinash Raj

    50.8k41165210




    50.8k41165210








    • 3




      what's the difference between your answer and kangaroo's answer, yours seems shorter, and simpler.
      – speedox
      Jun 19 '15 at 1:31






    • 8




      Because my answer won't work for the versions below 12.10
      – Avinash Raj
      Jun 19 '15 at 5:02










    • Is there also a way to check them first? So you only enable them when they aren't enabled already... For scripting purposes.
      – user2304170
      Apr 30 '16 at 11:53














    • 3




      what's the difference between your answer and kangaroo's answer, yours seems shorter, and simpler.
      – speedox
      Jun 19 '15 at 1:31






    • 8




      Because my answer won't work for the versions below 12.10
      – Avinash Raj
      Jun 19 '15 at 5:02










    • Is there also a way to check them first? So you only enable them when they aren't enabled already... For scripting purposes.
      – user2304170
      Apr 30 '16 at 11:53








    3




    3




    what's the difference between your answer and kangaroo's answer, yours seems shorter, and simpler.
    – speedox
    Jun 19 '15 at 1:31




    what's the difference between your answer and kangaroo's answer, yours seems shorter, and simpler.
    – speedox
    Jun 19 '15 at 1:31




    8




    8




    Because my answer won't work for the versions below 12.10
    – Avinash Raj
    Jun 19 '15 at 5:02




    Because my answer won't work for the versions below 12.10
    – Avinash Raj
    Jun 19 '15 at 5:02












    Is there also a way to check them first? So you only enable them when they aren't enabled already... For scripting purposes.
    – user2304170
    Apr 30 '16 at 11:53




    Is there also a way to check them first? So you only enable them when they aren't enabled already... For scripting purposes.
    – user2304170
    Apr 30 '16 at 11:53










    up vote
    16
    down vote













    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



























      up vote
      16
      down vote













      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

























        up vote
        16
        down vote










        up vote
        16
        down vote









        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














        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














        share|improve this answer



        share|improve this answer








        edited Jun 9 '12 at 17:57









        Lekensteyn

        119k47259352




        119k47259352










        answered Jun 9 '12 at 17:20









        Ashu

        6,56832957




        6,56832957






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f148638%2fhow-do-i-enable-the-universe-repository%23new-answer', 'question_page');
            }
            );

            Post as a guest




















































































            Popular posts from this blog

            How to change which sound is reproduced for terminal bell?

            Can I use Tabulator js library in my java Spring + Thymeleaf project?

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents