How do I add a software source?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
18
down vote

favorite
7












Sometimes I see sites offering Ubuntu packages via something like




Add this line to your software sources: deb http:// something something




How can I add these to my package manager so I can install the software and keep it up to date? I'd like both GUI and command line options.







share|improve this question
























    up vote
    18
    down vote

    favorite
    7












    Sometimes I see sites offering Ubuntu packages via something like




    Add this line to your software sources: deb http:// something something




    How can I add these to my package manager so I can install the software and keep it up to date? I'd like both GUI and command line options.







    share|improve this question






















      up vote
      18
      down vote

      favorite
      7









      up vote
      18
      down vote

      favorite
      7






      7





      Sometimes I see sites offering Ubuntu packages via something like




      Add this line to your software sources: deb http:// something something




      How can I add these to my package manager so I can install the software and keep it up to date? I'd like both GUI and command line options.







      share|improve this question












      Sometimes I see sites offering Ubuntu packages via something like




      Add this line to your software sources: deb http:// something something




      How can I add these to my package manager so I can install the software and keep it up to date? I'd like both GUI and command line options.









      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 22 '11 at 19:35









      Jorge Castro

      34.3k104421614




      34.3k104421614




















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          16
          down vote



          accepted










          You can easily add them in the Software Center->Edit->Software Sources->Other Sources->Add"



          1. Start the Software Center.



          2. In the panel go to Edit and select Software Sources.



            edit-software-sources




          3. In the tab Other Sources click on the Add button at the bottom.



            other-sources




          4. Add the deb URL in the APT Line input field and hit Add Source.



            software-properties-gtk



          Once you close the Software Sources window your cache is going to be updated automatically.



          You can now browse the newly added source in the New Source sub-list using the upper left list in Get Software.






          share|improve this answer





























            up vote
            10
            down vote













            From the command line we may add software sources by



            sudo add-apt-repository deb http://something something


            This will add the given source to our sources.list. We may need to additionally import a signature key:



            sudo apt-key add <downloaded-keyfile>



            There is a short form for a ppa:



            sudo add-apt-repository ppa:<lp-user>/<ppa-name>


            that will expand the entries for the sources list and automatically imports the gpg key.




            After having added a new source we need to update the package index files in any case by running



            sudo apt-get update





            share|improve this answer



























              up vote
              8
              down vote













              Here is another version.



              gksudo gedit /etc/apt/sources.list


              Add the deb URL to bottom of file and save it. After that you have to update the apt cache with



              sudo apt-get update


              Now you can install software from that source just like from any other source using



              sudo apt-get install [packagename]





              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: false,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: 10,
                bindNavPrevention: true,
                postfix: "",
                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%2f36484%2fhow-do-i-add-a-software-source%23new-answer', 'question_page');

                );

                Post as a guest






























                3 Answers
                3






                active

                oldest

                votes








                3 Answers
                3






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes








                up vote
                16
                down vote



                accepted










                You can easily add them in the Software Center->Edit->Software Sources->Other Sources->Add"



                1. Start the Software Center.



                2. In the panel go to Edit and select Software Sources.



                  edit-software-sources




                3. In the tab Other Sources click on the Add button at the bottom.



                  other-sources




                4. Add the deb URL in the APT Line input field and hit Add Source.



                  software-properties-gtk



                Once you close the Software Sources window your cache is going to be updated automatically.



                You can now browse the newly added source in the New Source sub-list using the upper left list in Get Software.






                share|improve this answer


























                  up vote
                  16
                  down vote



                  accepted










                  You can easily add them in the Software Center->Edit->Software Sources->Other Sources->Add"



                  1. Start the Software Center.



                  2. In the panel go to Edit and select Software Sources.



                    edit-software-sources




                  3. In the tab Other Sources click on the Add button at the bottom.



                    other-sources




                  4. Add the deb URL in the APT Line input field and hit Add Source.



                    software-properties-gtk



                  Once you close the Software Sources window your cache is going to be updated automatically.



                  You can now browse the newly added source in the New Source sub-list using the upper left list in Get Software.






                  share|improve this answer
























                    up vote
                    16
                    down vote



                    accepted







                    up vote
                    16
                    down vote



                    accepted






                    You can easily add them in the Software Center->Edit->Software Sources->Other Sources->Add"



                    1. Start the Software Center.



                    2. In the panel go to Edit and select Software Sources.



                      edit-software-sources




                    3. In the tab Other Sources click on the Add button at the bottom.



                      other-sources




                    4. Add the deb URL in the APT Line input field and hit Add Source.



                      software-properties-gtk



                    Once you close the Software Sources window your cache is going to be updated automatically.



                    You can now browse the newly added source in the New Source sub-list using the upper left list in Get Software.






                    share|improve this answer














                    You can easily add them in the Software Center->Edit->Software Sources->Other Sources->Add"



                    1. Start the Software Center.



                    2. In the panel go to Edit and select Software Sources.



                      edit-software-sources




                    3. In the tab Other Sources click on the Add button at the bottom.



                      other-sources




                    4. Add the deb URL in the APT Line input field and hit Add Source.



                      software-properties-gtk



                    Once you close the Software Sources window your cache is going to be updated automatically.



                    You can now browse the newly added source in the New Source sub-list using the upper left list in Get Software.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Apr 22 '11 at 20:11









                    Octavian Damiean

                    11.6k74760




                    11.6k74760










                    answered Apr 22 '11 at 19:40









                    Federico Vera

                    4061311




                    4061311






















                        up vote
                        10
                        down vote













                        From the command line we may add software sources by



                        sudo add-apt-repository deb http://something something


                        This will add the given source to our sources.list. We may need to additionally import a signature key:



                        sudo apt-key add <downloaded-keyfile>



                        There is a short form for a ppa:



                        sudo add-apt-repository ppa:<lp-user>/<ppa-name>


                        that will expand the entries for the sources list and automatically imports the gpg key.




                        After having added a new source we need to update the package index files in any case by running



                        sudo apt-get update





                        share|improve this answer
























                          up vote
                          10
                          down vote













                          From the command line we may add software sources by



                          sudo add-apt-repository deb http://something something


                          This will add the given source to our sources.list. We may need to additionally import a signature key:



                          sudo apt-key add <downloaded-keyfile>



                          There is a short form for a ppa:



                          sudo add-apt-repository ppa:<lp-user>/<ppa-name>


                          that will expand the entries for the sources list and automatically imports the gpg key.




                          After having added a new source we need to update the package index files in any case by running



                          sudo apt-get update





                          share|improve this answer






















                            up vote
                            10
                            down vote










                            up vote
                            10
                            down vote









                            From the command line we may add software sources by



                            sudo add-apt-repository deb http://something something


                            This will add the given source to our sources.list. We may need to additionally import a signature key:



                            sudo apt-key add <downloaded-keyfile>



                            There is a short form for a ppa:



                            sudo add-apt-repository ppa:<lp-user>/<ppa-name>


                            that will expand the entries for the sources list and automatically imports the gpg key.




                            After having added a new source we need to update the package index files in any case by running



                            sudo apt-get update





                            share|improve this answer












                            From the command line we may add software sources by



                            sudo add-apt-repository deb http://something something


                            This will add the given source to our sources.list. We may need to additionally import a signature key:



                            sudo apt-key add <downloaded-keyfile>



                            There is a short form for a ppa:



                            sudo add-apt-repository ppa:<lp-user>/<ppa-name>


                            that will expand the entries for the sources list and automatically imports the gpg key.




                            After having added a new source we need to update the package index files in any case by running



                            sudo apt-get update






                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Apr 22 '11 at 20:37









                            Takkat

                            102k35244367




                            102k35244367




















                                up vote
                                8
                                down vote













                                Here is another version.



                                gksudo gedit /etc/apt/sources.list


                                Add the deb URL to bottom of file and save it. After that you have to update the apt cache with



                                sudo apt-get update


                                Now you can install software from that source just like from any other source using



                                sudo apt-get install [packagename]





                                share|improve this answer


























                                  up vote
                                  8
                                  down vote













                                  Here is another version.



                                  gksudo gedit /etc/apt/sources.list


                                  Add the deb URL to bottom of file and save it. After that you have to update the apt cache with



                                  sudo apt-get update


                                  Now you can install software from that source just like from any other source using



                                  sudo apt-get install [packagename]





                                  share|improve this answer
























                                    up vote
                                    8
                                    down vote










                                    up vote
                                    8
                                    down vote









                                    Here is another version.



                                    gksudo gedit /etc/apt/sources.list


                                    Add the deb URL to bottom of file and save it. After that you have to update the apt cache with



                                    sudo apt-get update


                                    Now you can install software from that source just like from any other source using



                                    sudo apt-get install [packagename]





                                    share|improve this answer














                                    Here is another version.



                                    gksudo gedit /etc/apt/sources.list


                                    Add the deb URL to bottom of file and save it. After that you have to update the apt cache with



                                    sudo apt-get update


                                    Now you can install software from that source just like from any other source using



                                    sudo apt-get install [packagename]






                                    share|improve this answer














                                    share|improve this answer



                                    share|improve this answer








                                    edited Apr 22 '11 at 20:17









                                    Octavian Damiean

                                    11.6k74760




                                    11.6k74760










                                    answered Apr 22 '11 at 19:40









                                    sihill

                                    811




                                    811






















                                         

                                        draft saved


                                        draft discarded


























                                         


                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function ()
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f36484%2fhow-do-i-add-a-software-source%23new-answer', 'question_page');

                                        );

                                        Post as a guest













































































                                        Popular posts from this blog

                                        GRUB: Fatal! inconsistent data read from (0x84) 0+xxxxxx

                                        `kcmshell` modules relation with `/usr/share/applications`

                                        How to enroll fingerprints to Ubuntu 17.10 with VFS491