How do I enable the “Universe” repository?











up vote
138
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
138
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
138
down vote

favorite
39









up vote
138
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

26.3k951124




26.3k951124










asked Jun 9 '12 at 16:40









Dr.C.Badrinathan

717285




717285








  • 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
157
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
44
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
29
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






  • 1




    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















    Required, but never shown

























    4 Answers
    4






    active

    oldest

    votes








    4 Answers
    4






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    157
    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
    157
    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
    157
    down vote










    up vote
    157
    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.6k1363108




    27.6k1363108










    answered Dec 11 '12 at 3:06









    Kangarooo

    2,81942134




    2,81942134








    • 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
    44
    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
    44
    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
    44
    down vote










    up vote
    44
    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

    46847




    46847












    • 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
    29
    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






    • 1




      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
    29
    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






    • 1




      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
    29
    down vote










    up vote
    29
    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

    51.3k41165211




    51.3k41165211








    • 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






    • 1




      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






    • 1




      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




    1




    1




    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

        120k48263354




        120k48263354










        answered Jun 9 '12 at 17:20









        Ashu

        6,62832957




        6,62832957






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            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















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

            How to change which sound is reproduced for terminal bell?

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