add-apt-repository command not working [duplicate]












0
















This question already has an answer here:




  • Error sudo: add-apt-repository: command not found

    2 answers



  • How to add a PPA on a server?

    6 answers




I'm new to Ubuntu and I tried to install something and the guide I was reading says to run a command that starts with



sudo add-apt-repository


but whenever I try to use the command then it says



bash: add-apt-repository: command not found


whether I start it with sudo or not, and I can't seem to find any help anywhere else.










share|improve this question









New contributor




John Morozov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











marked as duplicate by Kulfy, karel, pomsky, dessert command-line
Users with the  command-line badge can single-handedly close command-line questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Jan 10 at 21:44


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.




















    0
















    This question already has an answer here:




    • Error sudo: add-apt-repository: command not found

      2 answers



    • How to add a PPA on a server?

      6 answers




    I'm new to Ubuntu and I tried to install something and the guide I was reading says to run a command that starts with



    sudo add-apt-repository


    but whenever I try to use the command then it says



    bash: add-apt-repository: command not found


    whether I start it with sudo or not, and I can't seem to find any help anywhere else.










    share|improve this question









    New contributor




    John Morozov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.











    marked as duplicate by Kulfy, karel, pomsky, dessert command-line
    Users with the  command-line badge can single-handedly close command-line questions as duplicates and reopen them as needed.

    StackExchange.ready(function() {
    if (StackExchange.options.isMobile) return;

    $('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
    var $hover = $(this).addClass('hover-bound'),
    $msg = $hover.siblings('.dupe-hammer-message');

    $hover.hover(
    function() {
    $hover.showInfoMessage('', {
    messageElement: $msg.clone().show(),
    transient: false,
    position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
    dismissable: false,
    relativeToBody: true
    });
    },
    function() {
    StackExchange.helpers.removeMessages();
    }
    );
    });
    });
    Jan 10 at 21:44


    This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















      0












      0








      0









      This question already has an answer here:




      • Error sudo: add-apt-repository: command not found

        2 answers



      • How to add a PPA on a server?

        6 answers




      I'm new to Ubuntu and I tried to install something and the guide I was reading says to run a command that starts with



      sudo add-apt-repository


      but whenever I try to use the command then it says



      bash: add-apt-repository: command not found


      whether I start it with sudo or not, and I can't seem to find any help anywhere else.










      share|improve this question









      New contributor




      John Morozov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.













      This question already has an answer here:




      • Error sudo: add-apt-repository: command not found

        2 answers



      • How to add a PPA on a server?

        6 answers




      I'm new to Ubuntu and I tried to install something and the guide I was reading says to run a command that starts with



      sudo add-apt-repository


      but whenever I try to use the command then it says



      bash: add-apt-repository: command not found


      whether I start it with sudo or not, and I can't seem to find any help anywhere else.





      This question already has an answer here:




      • Error sudo: add-apt-repository: command not found

        2 answers



      • How to add a PPA on a server?

        6 answers








      command-line apt bash sudo






      share|improve this question









      New contributor




      John Morozov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      John Morozov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited Jan 10 at 15:51









      dessert

      22.3k56198




      22.3k56198






      New contributor




      John Morozov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Jan 10 at 15:44









      John MorozovJohn Morozov

      12




      12




      New contributor




      John Morozov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      John Morozov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      John Morozov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      marked as duplicate by Kulfy, karel, pomsky, dessert command-line
      Users with the  command-line badge can single-handedly close command-line questions as duplicates and reopen them as needed.

      StackExchange.ready(function() {
      if (StackExchange.options.isMobile) return;

      $('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
      var $hover = $(this).addClass('hover-bound'),
      $msg = $hover.siblings('.dupe-hammer-message');

      $hover.hover(
      function() {
      $hover.showInfoMessage('', {
      messageElement: $msg.clone().show(),
      transient: false,
      position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
      dismissable: false,
      relativeToBody: true
      });
      },
      function() {
      StackExchange.helpers.removeMessages();
      }
      );
      });
      });
      Jan 10 at 21:44


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






      marked as duplicate by Kulfy, karel, pomsky, dessert command-line
      Users with the  command-line badge can single-handedly close command-line questions as duplicates and reopen them as needed.

      StackExchange.ready(function() {
      if (StackExchange.options.isMobile) return;

      $('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
      var $hover = $(this).addClass('hover-bound'),
      $msg = $hover.siblings('.dupe-hammer-message');

      $hover.hover(
      function() {
      $hover.showInfoMessage('', {
      messageElement: $msg.clone().show(),
      transient: false,
      position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
      dismissable: false,
      relativeToBody: true
      });
      },
      function() {
      StackExchange.helpers.removeMessages();
      }
      );
      });
      });
      Jan 10 at 21:44


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
























          0






          active

          oldest

          votes

















          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

          Popular posts from this blog

          How did Captain America manage to do this?

          迪纳利

          南乌拉尔铁路局