How can I see if I have software-properties-common installed?












2















I intend to download and install something, but the first pre-requisite says:




You need software-properties-common installed in order to add PPA repositories.
If not installed(...)




and then it shows instructions how to install it.



I haven't used my PC in a long time, so I don't know if I installed it before or not. How can I check that out?










share|improve this question





























    2















    I intend to download and install something, but the first pre-requisite says:




    You need software-properties-common installed in order to add PPA repositories.
    If not installed(...)




    and then it shows instructions how to install it.



    I haven't used my PC in a long time, so I don't know if I installed it before or not. How can I check that out?










    share|improve this question



























      2












      2








      2








      I intend to download and install something, but the first pre-requisite says:




      You need software-properties-common installed in order to add PPA repositories.
      If not installed(...)




      and then it shows instructions how to install it.



      I haven't used my PC in a long time, so I don't know if I installed it before or not. How can I check that out?










      share|improve this question
















      I intend to download and install something, but the first pre-requisite says:




      You need software-properties-common installed in order to add PPA repositories.
      If not installed(...)




      and then it shows instructions how to install it.



      I haven't used my PC in a long time, so I don't know if I installed it before or not. How can I check that out?







      ppa






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 24 at 5:40









      zx485

      1,47131215




      1,47131215










      asked Feb 23 at 21:56









      Maria AMaria A

      111




      111






















          2 Answers
          2






          active

          oldest

          votes


















          2














          You can query with apt, for example



          apt policy software-properties-common


          or



          apt list --installed software-properties*


          or with dpkg



          dpkg -l software-properties-common


          However it won't do any harm to follow the installation instructions - you would just get a message like



          software-properties-common is already the newest version (0.96.24.32.7).


          if it is already installed.






          share|improve this answer































            0














            The software-properties-common package provides the add-apt-repository command.



            So in this case, just try to run the add-apt-repository command they want you to run. If it works, everything is fine. Otherwise you will get a "Command not found" error message which should probably even advise you on which package to install to get it:



            sudo apt install software-properties-common


            However, you could also run this command safely if the package is already installed. It will detect this and not reinstall it again.



            Other, general ways to find out whether a specific package is installed are described in @steeldriver's answer to this question.






            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',
              autoActivateHeartbeat: false,
              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%2f1120716%2fhow-can-i-see-if-i-have-software-properties-common-installed%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              2














              You can query with apt, for example



              apt policy software-properties-common


              or



              apt list --installed software-properties*


              or with dpkg



              dpkg -l software-properties-common


              However it won't do any harm to follow the installation instructions - you would just get a message like



              software-properties-common is already the newest version (0.96.24.32.7).


              if it is already installed.






              share|improve this answer




























                2














                You can query with apt, for example



                apt policy software-properties-common


                or



                apt list --installed software-properties*


                or with dpkg



                dpkg -l software-properties-common


                However it won't do any harm to follow the installation instructions - you would just get a message like



                software-properties-common is already the newest version (0.96.24.32.7).


                if it is already installed.






                share|improve this answer


























                  2












                  2








                  2







                  You can query with apt, for example



                  apt policy software-properties-common


                  or



                  apt list --installed software-properties*


                  or with dpkg



                  dpkg -l software-properties-common


                  However it won't do any harm to follow the installation instructions - you would just get a message like



                  software-properties-common is already the newest version (0.96.24.32.7).


                  if it is already installed.






                  share|improve this answer













                  You can query with apt, for example



                  apt policy software-properties-common


                  or



                  apt list --installed software-properties*


                  or with dpkg



                  dpkg -l software-properties-common


                  However it won't do any harm to follow the installation instructions - you would just get a message like



                  software-properties-common is already the newest version (0.96.24.32.7).


                  if it is already installed.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Feb 23 at 22:04









                  steeldriversteeldriver

                  70.1k11114186




                  70.1k11114186

























                      0














                      The software-properties-common package provides the add-apt-repository command.



                      So in this case, just try to run the add-apt-repository command they want you to run. If it works, everything is fine. Otherwise you will get a "Command not found" error message which should probably even advise you on which package to install to get it:



                      sudo apt install software-properties-common


                      However, you could also run this command safely if the package is already installed. It will detect this and not reinstall it again.



                      Other, general ways to find out whether a specific package is installed are described in @steeldriver's answer to this question.






                      share|improve this answer






























                        0














                        The software-properties-common package provides the add-apt-repository command.



                        So in this case, just try to run the add-apt-repository command they want you to run. If it works, everything is fine. Otherwise you will get a "Command not found" error message which should probably even advise you on which package to install to get it:



                        sudo apt install software-properties-common


                        However, you could also run this command safely if the package is already installed. It will detect this and not reinstall it again.



                        Other, general ways to find out whether a specific package is installed are described in @steeldriver's answer to this question.






                        share|improve this answer




























                          0












                          0








                          0







                          The software-properties-common package provides the add-apt-repository command.



                          So in this case, just try to run the add-apt-repository command they want you to run. If it works, everything is fine. Otherwise you will get a "Command not found" error message which should probably even advise you on which package to install to get it:



                          sudo apt install software-properties-common


                          However, you could also run this command safely if the package is already installed. It will detect this and not reinstall it again.



                          Other, general ways to find out whether a specific package is installed are described in @steeldriver's answer to this question.






                          share|improve this answer















                          The software-properties-common package provides the add-apt-repository command.



                          So in this case, just try to run the add-apt-repository command they want you to run. If it works, everything is fine. Otherwise you will get a "Command not found" error message which should probably even advise you on which package to install to get it:



                          sudo apt install software-properties-common


                          However, you could also run this command safely if the package is already installed. It will detect this and not reinstall it again.



                          Other, general ways to find out whether a specific package is installed are described in @steeldriver's answer to this question.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Feb 24 at 7:48









                          N0rbert

                          24.4k851115




                          24.4k851115










                          answered Feb 23 at 22:07









                          Byte CommanderByte Commander

                          66.1k27181308




                          66.1k27181308






























                              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.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1120716%2fhow-can-i-see-if-i-have-software-properties-common-installed%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

                              flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                              Mangá

                               ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕