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















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















    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

















      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















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 10 at 15:51









      dessert

      23.5k666103




      23.5k666103










      asked Jan 10 at 15:44









      John MorozovJohn Morozov

      12




      12




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