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

      22.4k56198




      22.4k56198










      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 reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

          is 'sed' thread safe

          How to make a Squid Proxy server?